"Debug and Run" Button doesn't recognize predefined interpreter in settings.json and selects a different one
@karthiknadig ci sta già lavorando.
Dal 8/8/2024.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
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.
- Lingua principale
- TypeScript
- Stelle
- 181
- Fork
- 126
- Merge medio
- 2g 3h
- PR unite (30g)
- 3
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di microsoft/vscode-python-debugger
-
triage-needed
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
microsoft/vscode-python-debugger#1110 ·
-
triage-needed
Difficoltà 1/5 1-3 ore Idoneità per principianti 88/100
microsoft/vscode-python-debugger#1024 · 1 commento ·
-
triage-needed
microsoft/vscode-python-debugger#1111 · 1 reazione · 1 assegnatario ·
-
triage-needed
microsoft/vscode-python-debugger#1106 · 1 reazione · 2 assegnatari ·
-
triage-needed
microsoft/vscode-python-debugger#1104 · 1 reazione · 1 assegnatario ·