"Debug and Run" Button doesn't recognize predefined interpreter in settings.json and selects a different one
維護者通常 1 天內回覆
@karthiknadig 已經在處理了。
開始於 2024年8月8日。
評估
這個 Issue 還沒有評估資料。
描述
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.
- 主要語言
- TypeScript
- 星號
- 181
- 分支
- 126
- 平均合併
- 8 小時 49 分鐘
- 30 天內合併 PR
- 1
環境準備
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
microsoft/vscode-python-debugger 的其他 Issue
-
triage-needed
難度 2/5 1-3 小時 新手友好度 78/100
microsoft/vscode-python-debugger#1110 ·
維護者通常 1 天內回覆
-
triage-needed
難度 1/5 1-3 小時 新手友好度 88/100
microsoft/vscode-python-debugger#1024 · 1 則留言 ·
維護者通常 1 天內回覆
-
Update dependencies with actionable security alerts可能已有人在做 @copilot-swe-agent 於 10 天前認領。 未關閉triage-needed
microsoft/vscode-python-debugger#1111 · 1 個 reaction · 已指派 1 人 ·
維護者通常 1 天內回覆
-
Update vulnerable npm dependencies可能重新可做 關聯的 PR 已關閉且未合併。 未關閉triage-needed
microsoft/vscode-python-debugger#1104 · 1 個 reaction · 已指派 1 人 ·
維護者通常 1 天內回覆
-
triage-needed
難度 4/5 3-5 天 新手友好度 58/100
microsoft/vscode-python-debugger#1095 · 1 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
查看 microsoft/vscode-python-debugger 的全部 Issue
相似的 Issue
-
resources
難度 2/5 1-3 小時 新手友好度 72/100
railmapgen/rmg-palette#2445 ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 88/100
danielmiessler/LifeOS#2242 ·
維護者通常 5 天內回覆
-
good first issue hacktoberfest help wanted translation
難度 2/5 1-3 小時 新手友好度 84/100
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 78/100
callstackincubator/appduct#129 ·
維護者通常 1 天內回覆
-
難度 1/5 1-3 小時 新手友好度 88/100