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 小時
- 30 天內合併 PR
- 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 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
評估
這個 Issue 還沒有評估資料。