Open atheo89 opened 3 weeks ago
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.
Thank you for your reply @code-asher! I thought the same later on and i opened a question on python extension repo. https://github.com/microsoft/vscode-python-debugger/issues/363
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