microsoft / microsoft/vscode-python-debugger

Debugger crashes with no args

Aperta
#725 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@eleanorjboyd ci sta già lavorando.

Dal 10/6/2025.

triage-needed
Lingua principale
TypeScript
Stelle
181
Fork
126
Merge medio
2g 3h
PR unite (30g)
3

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.