microsoft / microsoft/vscode-python-debugger

debug config that uses `${command:pickArgs}` does not cancel when pressing escape on the arguments prompt

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

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

2025年7月11日 から。

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

説明

to reproduce

  1. create the following .vscode/launch.json:
    {
        "version": "0.2.0",
        "configurations": [
            {
                "name":"Python Debugger: Current File with Arguments",
                "type":"debugpy",
                "request":"launch",
                "program":"${file}",
                "console":"integratedTerminal",
                "args":"${command:pickArgs}"
            },
        ]
    }
    
  2. open a python file and set a breakpoint
  3. run the launch config
  4. press Escape when this dialog appears (note that it says "'Escape' to cancel")):
    Image

expected behavior

it cancels and does not run

actual behavior

it runs and pauses on the breakpoint:

Image

environment

vscode v1.101.24242
ms-python.python v2025.8.1
ms-python.debugpy v2025.8.0
OS: windows 10, 11

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

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

はじめの一歩

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

評価

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

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

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