microsoft / microsoft/vscode-python-debugger

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

Đang mở
#747 1 bình luận 3 reaction 1 người được giao Xem trên GitHub

@eleanorjboyd đang làm issue này rồi.

Từ ngày 11/7/2025.

triage-needed
Ngôn ngữ chính
TypeScript
Star
181
Fork
126
Merge trung bình
2 ngày 3 giờ
Pull request đã merge (30 ngày)
3

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.