microsoft / microsoft/vscode-python-debugger

Debugger crashes with no args

Offen
#725 0 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@eleanorjboyd arbeitet bereits daran.

Seit 10.6.2025.

triage-needed
Vorherrschende Sprache
TypeScript
Sterne
181
Forks
126
Ø Merge
2 T. 3 Std.
Gemergte PRs (30 T.)
3

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.