microsoft / microsoft/vscode-python-debugger
debug config that uses `${command:pickArgs}` does not cancel when pressing escape on the arguments prompt
Open
@eleanorjboyd is already working on this.
Since Jul 11, 2025.
triage-needed
- Dominant language
- TypeScript
- Stars
- 181
- Forks
- 126
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 3
Description
to reproduce
- create the following
.vscode/launch.json:{ "version": "0.2.0", "configurations": [ { "name":"Python Debugger: Current File with Arguments", "type":"debugpy", "request":"launch", "program":"${file}", "console":"integratedTerminal", "args":"${command:pickArgs}" }, ] } - open a python file and set a breakpoint
- run the launch config
- press Escape when this dialog appears (note that it says "'Escape' to cancel")):
expected behavior
it cancels and does not run
actual behavior
it runs and pauses on the breakpoint:
environment
vscode v1.101.24242
ms-python.python v2025.8.1
ms-python.debugpy v2025.8.0
OS: windows 10, 11
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.