microsoft / microsoft/vscode-python-debugger

Debugger is making up its own virtualenv location and unable to run

Đang mở
#746 3 bình luận 0 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ả

Before creating a new issue, please check the FAQ to see if your question is answered there.

Environment data

  • debugpy version: XXX (run import debugpy; print(debugpy.__version__) if uncertain)
  • OS and version: Fedora 37
  • Python version (& distribution if applicable, e.g. Anaconda): 3.8.18
  • Using VS Code or Visual Studio: VS Code

Actual behavior

the debugger looks for an non-existent virtual environment folder /./venv/bin/python and stops execution

Expected behavior

for the debugger to recognize the virtual environment and run without a hitch

Steps to reproduce:

  1. in launch.json with the new update the "type" value was changed from "python" to "debugpy"
  2. when trying to run the debugger with F5 or by pressing the play button the below error comes up and stops execution
Image

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.