-
Notifications
You must be signed in to change notification settings - Fork 141
Closed
Description
Hi there,
While going through the course, I have noticed that the debugging mode in Pycharm doesn't activate the debugging mode in Flask anymore. However, if I replace the code below
| being_debugged = sys.gettrace() is not None |
with
being_debugged = sys.monitoring.get_tool(sys.monitoring.DEBUGGER_ID) is not NoneIt now works again.
If maintainers approve of this change I will prepare a PR :) I can also keep it backward compatible.
What do you think?
Metadata
Metadata
Assignees
Labels
No labels