microsoft / microsoft/vscode-python-debugger
"Debug and Run" Button doesn't recognize predefined interpreter in settings.json and selects a different one
Abierto
@karthiknadig ya está trabajando en esto.
Desde el 8/8/2024.
triage-needed
- Lenguaje dominante
- TypeScript
- Estrellas
- 181
- Forks
- 126
- Merge medio
- 2 d 3 h
- PR fusionados (30 d)
- 3
Descripción
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.
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Evaluación
Este issue todavía no se ha evaluado.