microsoft / microsoft/vscode-python-debugger
Debugger crashes with no args
Open
@eleanorjboyd is already working on this.
Since Jun 10, 2025.
triage-needed
- Dominant language
- TypeScript
- Stars
- 181
- Forks
- 126
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 3
Description
When using such a config like the following and no args are supplied the debugger kinda crashes / times out but needs a lot of time for this.
{
"name": "Python Debugger: cli function",
"type": "debugpy",
"request": "launch",
"program": "${workspaceFolder}/src/cli.py",
"console": "integratedTerminal",
"args": "${command:pickArgs}"
}
I found it out, when clicking into the appearing line and opening maccy on macos.
Then the following got called in the terminal:
cd <project-path> ; /usr/bin/env <project-path>/.venv/bin/python $HOME/.vscode/extensions/ms-python.debugpy-2025.8.0-darwin-arm64/bundled/libs/debugpy/adapter/../../debugpy/launcher 60340 -- <project-path>/src/cli.py ${command:pickArgs}
zsh: unrecognized modifier `p'
And after around 60s a message with the following content pops up: Timed out waiting for launcher to connect
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.