microsoft / microsoft/vscode-python-debugger
"Debug and Run" Button doesn't recognize predefined interpreter in settings.json and selects a different one
オープン
@karthiknadig がすでに取り組んでいます。
2024年8月8日 から。
triage-needed
- 主要言語
- TypeScript
- スター
- 181
- フォーク
- 126
- 平均マージ
- 2日 3時間
- マージ済み PR(30日)
- 3
説明
Description
"Debug and Run" Button doesn't recognize predefined interpreter in settings.json and selects a different one, in contrary the Run icon on top left on the screen works as expected.
OS/Web Information
- Web Browser: Chrome/firefox
- Local OS: fedora
- Remote OS: fedora
- Remote Architecture: amd64
code-server --version: 4.22.0ms python: v2024.2.1
Steps to Reproduce
- Launch code server
- Install
ms-pythonextension - Set on settings.json your preferred interpreter
"python.defaultInterpreterPath": "/path/to/different/interpreter" - Reload Window
- Create a test python file
- Press
Run >icon on the top right. It will run your file without issue using the predefined interpreter. - Now press on
Run and Debugand see on the bottom right banner the in the python section use a different interpreter from the one that we pre defined.
Expected
The "Run and Debug" button to use the python interpreter that is been defined on the settings.json file by the user.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
評価
この issue はまだ評価されていません。