microsoft / microsoft/vscode-python-debugger

Debugger crashes with no args

オープン
#725 コメント 0 件 リアクション 0 件 担当者 1 名 GitHub で見る

@eleanorjboyd がすでに取り組んでいます。

2025年6月10日 から。

triage-needed
主要言語
TypeScript
スター
181
フォーク
126
平均マージ
2日 3時間
マージ済み PR(30日)
3

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。