-
Notifications
You must be signed in to change notification settings - Fork 160
Python Remote Debugging Not working with 3.9.3 #580
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
Comments
Seeing the same behavior with local debugging as well after upgrading to Python 3.9.3 & using the default launch configuration Environment data
{
"version": "0.2.0",
"configurations": [
{
"name": "Python: Current File",
"type": "python",
"request": "launch",
"program": "${file}",
"console": "integratedTerminal"
}
]
} edit: This appears to be solved in 3.9.4 |
I am having the same problem with Python 3.9.3 inside a Debian-based Docker container. Environment data
{
"version": "0.2.0",
"configurations": [
{
"name": "Pig Game",
"type": "python",
"request": "launch",
"program": "src/pig/main.py",
"console": "integratedTerminal",
"justMyCode": true,
"stopOnEntry": true,
}
]
} |
Updating Python to the version 3.9.4 solved the problem. |
Exactly! I re-installed Vscode a couple of times, before realizing it wasn't the Vscode update that broke it, but the Python update... Anyway, for people working with Ubuntu, like me, enjoy the fun of compiling Python 3.9.4 from source as described as option 2 here, since the 'deadsnakes' ppa does not yet contain python 3.9.4... |
This is due to an issue with Python 3.9.3, please update to 3.9.4. |
Environment data
Expected behaviour
Breakpoint hits.
Actual behaviour
Breakpoint fails to hit.
Steps to reproduce:
test.py
:launch.json
for attach:Set Python Interpreter to Python 3.9.3 if not already done so.
Launch the script with
debugpy
:python3 -mdebugpy --listen 5678 test.py
.If we follow steps 1-5 with Python 2.7.16 instead, then the breakpoint is hit. Seems to work with 3.8 as well.
The text was updated successfully, but these errors were encountered: