-
Notifications
You must be signed in to change notification settings - Fork 527
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
Debugging Python in Docker #3823
Comments
Started seeing this too in VSCode 1.75. |
I am also having this same issue and I found there is an open issue on the vscode repo as well. |
Did this issue start happening recently, or has it been a few weeks? It might be a Python extension issue. |
Same problem here on v1.75, last week my docker project was running without any problems. No updates on python since then, maybe auto-update on VSCode. VSCode: 1.75 |
No updates on Docker extension since 19 December; Python extension was updated today, and IIRC sometime last week as well. So I think it's something between VSCode and/or Python extension. |
Same issue here It works after downgrading vscode to 1.74 and reinstall python extension |
Reported here as well |
Same here, it had version 1.75. Windows 11. I fixed it by downgrading to 1.74 (and reinstall Python Extension) |
Same problem here. It was working fine 10 minutes ago. I had to restart VS Code due to a crash, and it decided to update. Now I get this error. |
same problem :( Version: 1.75.1 (user setup) |
Same error here. It suddenly decided to stop working after the update. |
It has not been solved by #3641 |
I also confirm that this is still the same issue |
#3641 was an unrelated Python debugging issue; this specific issue is unfortunately external to the Docker extension that will require a fix in either vscode itself or (more likely) the Python extension to resolve. We're keeping this issue opened as a tracking issue, but microsoft/vscode-python#20655 is the issue to follow for any progress on a fix in the Python extension. |
Confirmed here also. I was unable to debug my Docker/Python application with VSCode after 1.74. I have now had to downgrade twice to 1.74.3 to resume normal Docker/Python debug functionality in VSCode. I'm using a virtualenv also for my Python path in case it matters. |
Is downgrading the only known workaround? |
@ultrablue the pre-release version of the Python extension seems to fix the issue. You can get it by going to the Extensions view, right-clicking the Python extension, and choosing "Switch to Pre-Release Version": |
@bwateratmsft Confirmed. It looks like that did the trick for me. |
This is working for me now in 1.76 VSCode which was released in last 2 days. |
Thanks for confirming. Will close this issue since it is being handled externally |
I created a sample project using
Docker > Add Docker Files to Workspace
.Then I ran Ctrl + F5, it correctly builds the image but then it raises an error that I can't get rid of:
Here is the sample project. I left everything default, just added
app.py
with a hello world message.test.zip
Versions
The text was updated successfully, but these errors were encountered: