Skip to content

Can't cancel a debug session while it's initializing #62346

@roblourens

Description

@roblourens

This seems broken again, maybe since the change to show the debug widget while initializing. Plus, sometimes it doesn't time out after failing to attach, so I'm stuck forever.

Launch this config with nothing running on that port, so it doesn't have anything to attach to:

{
    "type": "node",
    "request": "attach",
    "name": "Attach",
    "port": 9229
},
  • Press F5, debug widget appears
  • Clicking the red stop button or pressing shift+f5 has no effect
  • I can't start another debug config while in this state
  • Sometimes, it times out after 10s. But sometimes while trying this, it never timed out and I had to reload the window in order to debug

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugdebugDebug viewlet, configurations, breakpoints, adapter issuesimportantIssue identified as high-priorityverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions