-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Python debugging not working after 2019.1.0 update with stopOnEntry=true #4223
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
Reverting back to 2018.12.1 works like normal. |
This comment has been minimized.
This comment has been minimized.
@DonJayamanne No, not using pipenv |
@tchapin, does anything get run in the terminal ("Python Debug Console")? Please paste your launch config and your settings. |
@ericsnowcurrently There is no output to the debug console. The run button seemingly does nothing.
User Settings:
Workspace Settings:
|
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
To add to this thread, "stopOnEntry" : true seems to also be a culprit, as discussed on microsoft/vscode-docs#2386. . Removing that line lets the debugger work normally. |
I can confirm, commenting out A workaround would be putting a breakpoint at the first executable line to simulate the effect of stopOnEntry |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
There's an upstream (ptvsd) bug that is causing the debugger to stop improperly when |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
That's how I deal with this problem now,,,, I am a rookie Pythoner and juet started learning VSCode several days ago. |
An alternative work around that works for me is to not install the virtual environment in the main project folder but to use a sub directory instead. |
Closing as the upstream issue has been resolved. |
Environment data
Expected behaviour
Pressing run (F5) from the debug toolbar runs the script.
Actual behaviour
Pressing run (F5) from the debug toolbar does nothing.
Steps to reproduce:
Logs
no output
The text was updated successfully, but these errors were encountered: