microsoft / microsoft/vscode-python-debugger

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

Offen
#746 3 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@eleanorjboyd arbeitet bereits daran.

Seit 11.7.2025.

triage-needed
Vorherrschende Sprache
TypeScript
Sterne
181
Forks
126
Ø Merge
2 T. 3 Std.
Gemergte PRs (30 T.)
3

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.