-
Notifications
You must be signed in to change notification settings - Fork 520
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fail to debug a python project #4209
Comments
I am not able to reproduce on a Win11 machine. @v-ruizh does this happen consistently on more than one machine? |
I was able to reproduce in VSCode Insiders. I'll investigate and see what I can figure out. |
Verified this issue on Docker extension 20240202.4, it does not reproduce on Windows platform. But it still reproduces on Mac and Linux platforms. |
I've found that what's happening is the Python extension is validating that the Python executable is valid, but the Python command we are giving is the one to launch in the container, however they're validating against the host. I don't know why this is only happening in Insiders. I've noticed that on my system at least, However, in my WSL instance, This is a problem--this forces the user to have |
@v-ruizh Can you share the results from the following commands on Windows, Mac, and Linux?
On my Windows device, In my Linux WSL instance and on my Macbook, |
@bwateratmsft We have the same results. On my Windows device, On my Mac and Ubuntu22.04, |
Blocked on microsoft/vscode-python-debugger#531 |
OS: Win 10
Build Version: 20240117.1
Repro Steps:
Expect:
Succeed to debug the python project.
Actual:
Fail to debug the python project with an error.
More Info:
The text was updated successfully, but these errors were encountered: