Open
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