microsoft / microsoft/vscode-python-debugger
Debugger is making up its own virtualenv location and unable to run
未關閉
@eleanorjboyd 已經在處理了。
開始於 2025年7月11日。
triage-needed
- 主要語言
- TypeScript
- 星號
- 180
- 分支
- 126
- 平均合併
- 2 天 3 小時
- 30 天內合併 PR
- 3
描述
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:
- in launch.json with the new update the "type" value was changed from "python" to "debugpy"
- when trying to run the debugger with F5 or by pressing the play button the below error comes up and stops execution
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
評估
這個 Issue 還沒有評估資料。