microsoft / microsoft/vscode-js-debug
Option to abort when pressing debug and can't connect
@connor4312 is already working on this.
Since Feb 4, 2025.
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 373
- Avg merge
- 1d 9m
- Merged PRs (30d)
- 6
Description
Is your feature request related to a problem? Please describe.
Sometimes I hit debug (the green play button in the launch view) before realising my debug target is not bound to a port. However VS Code seems to be spinning (blue line going left to right) and there seems to be no way to abort the process.
The way I get around it today is by quitting VS Code and reopening it, but that's not great.
Sometimes it will timeout on its own but I don't want to sit waiting for that.,
Describe the feature you'd like
Can we change the UI to add the option to abort, for when hitting the play button can it change to a red square (even when connecting) then hitting that red square aborts the debug session.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.