Skip to content

If a debug adapter fails to send a terminated event, VS Code gets stuck in debug mode #102037

@connor4312

Description

@connor4312

See: #100368 (comment) VS Code can get stuck in a state where it thinks a debug session is going, but trying to end the session results in an error "No debug adapter, cannot send 'terminate'".

Might only happen with multiple parent/child sessions. Can be reproed perfectly by commenting out the two dap.terminated() calls in binder.ts within js-debug.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issueson-release-notesIssue/pull request mentioned in release notesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions