Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Send stopDebugger notification when appropriate#1570

Merged
andyleejordan merged 3 commits into
masterPowerShell/PowerShellEditorServices:masterfrom
andschwa/stop-debuggerPowerShell/PowerShellEditorServices:andschwa/stop-debuggerCopy head branch name to clipboard
Sep 7, 2021
Merged

Send stopDebugger notification when appropriate#1570
andyleejordan merged 3 commits into
masterPowerShell/PowerShellEditorServices:masterfrom
andschwa/stop-debuggerPowerShell/PowerShellEditorServices:andschwa/stop-debuggerCopy head branch name to clipboard

Conversation

@andyleejordan

Copy link
Copy Markdown
Member

This is the edge case where the debug server is running because it was started by PowerShell (and not by an LSP event), and we're no longer in the debugger within PowerShell, so since we own the state we need to stop the debug server too.

Along with PowerShell/vscode-powershell#3542, this resolves one of the main issues brought up in PowerShell/vscode-powershell#3522.

@andyleejordan

Copy link
Copy Markdown
Member Author

This needs some tests...

I added a bunch more recently that was became less useful and more noisy
after my familiarity improved.

@SeeminglyScience SeeminglyScience left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@andyleejordan

Copy link
Copy Markdown
Member Author

I'm going to merge so as to get it into a preview while I work on tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Debugging Issue-Enhancement A feature request (enhancement).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.