microsoft / microsoft/vscode-python-debugger

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

オープン
#746 コメント 3 件 リアクション 0 件 担当者 1 名 GitHub で見る

@eleanorjboyd がすでに取り組んでいます。

2025年7月11日 から。

triage-needed
主要言語
TypeScript
スター
181
フォーク
126
平均マージ
2日 3時間
マージ済み PR(30日)
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:

  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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。