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
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.
Actual
"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.
Logs
No response
Screenshot/Video
No response
Does this bug reproduce in native VS Code?
I did not test native VS Code
Does this bug reproduce in GitHub Codespaces?
I did not test GitHub Codespaces
Are you accessing code-server over a secure context?
I am using a secure context.
Notes
No response
The text was updated successfully, but these errors were encountered:
I would guess this needs to be filed with the extension, but we should test VS Code and Codespaces to make sure it is not somehow a problem in code-server.
Is there an existing issue for this?
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.
Actual
"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.
Logs
No response
Screenshot/Video
No response
Does this bug reproduce in native VS Code?
I did not test native VS Code
Does this bug reproduce in GitHub Codespaces?
I did not test GitHub Codespaces
Are you accessing code-server over a secure context?
Notes
No response
The text was updated successfully, but these errors were encountered: