microsoft / microsoft/vscode-python-debugger
Debugger is making up its own virtualenv location and unable to run
Aberta
@eleanorjboyd já está trabalhando nisso.
Desde 11/7/2025.
triage-needed
- Linguagem predominante
- TypeScript
- Estrelas
- 180
- Forks
- 126
- Merge médio
- 2d 3h
- PRs com merge (30d)
- 3
Descrição
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
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Avaliação
Esta issue ainda não foi avaliada.