You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the expected output? What do you see instead?
Spyder debugger should stop at breakpoint. Note that the web framework needs environment variables to get into debug mode before running app.py in debug mode:
Right now, we don't have an option to add environment variables for debugging in Spyder. However I was able to run the debugger in the example that you provided by FLASK_ENV=development FLASK_DEBUG=True FLASK_APP=path/to/app spyder. In this way you will have all the environment variables that you need in order to debug the app.
We will work for adding this option in Spyder 5,
Thanks for reporting!
Issue Report Checklist
conda update spyder
(orpip
, if not using Anaconda)jupyter qtconsole
(if console-related)spyder --reset
Problem Description
Spyder debugger does not stop on breakpoint.
What steps reproduce the problem?
What is the expected output? What do you see instead?
Spyder debugger should stop at breakpoint. Note that the web framework needs environment variables to get into debug mode before running app.py in debug mode:
Paste Traceback/Error Below (if applicable)
n/a
Versions
Dependencies
The text was updated successfully, but these errors were encountered: