microsoft / microsoft/vscode-python-debugger
Debugger is making up its own virtualenv location and unable to run
Aperta
@eleanorjboyd ci sta già lavorando.
Dal 11/7/2025.
triage-needed
- Lingua principale
- TypeScript
- Stelle
- 181
- Fork
- 126
- Merge medio
- 2g 3h
- PR unite (30g)
- 3
Descrizione
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
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.