You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"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.0
ms python: v2024.2.1
Steps to Reproduce
Launch code server
Install ms-python extension
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 Debug and 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.
The text was updated successfully, but these errors were encountered:
Thanks for the bug report, I'll try to reproduce it. Could you confirm that you don't have a launch config in launch.json or in settings.json. And could you also send me the value of your interpreter path in the Python Extension? (you can find it in the right bottom corner)
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
code-server --version
: 4.22.0ms python
: v2024.2.1Steps to Reproduce
ms-python
extension"python.defaultInterpreterPath": "/path/to/different/interpreter"
Run >
icon on the top right. It will run your file without issue using the predefined interpreter.Run and Debug
and 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.
The text was updated successfully, but these errors were encountered: