-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Debug breakpoints in PyCharm stops working after upgrading to 0.8 or later #1313
Comments
hi @lakaf any solution for this case? |
A discussion regarding |
Yeah as vltr mentioned this is related to |
Still open, can we fix it? |
Currently the main process runs auto_reload and child processes do everything else, if auto reloader is enabled. I suppose this would require refactoring so that the main process does serving and the reloader is a child. This should be fine on POSIX platforms but I wonder if that can work on Windows, i.e. whether killing the main process would there kill all the children incl. the reloader (not sure how if Windows automatically kills child processes when the parent is killed; POSIX does not). |
Just do it as follows: Edit configrations -> Parameters : --debug=True |
Hi there,
I am developing sanic application using JetBrains PyCharm (version 2018.2.3).
The breakpoint debugging function there was working fine on sanic 0.7.0, but after I upgraded to 0.8 or later all the breakpoints can never get hit any more.
The text was updated successfully, but these errors were encountered: