If I want to run your Flask app with PyDev, and I set breakpoints the debugger does not stop.
Another symptom is that killing the process form eclipse won't stop the process. When I rerun the app the port is already in use, because another instance is running.
This happens when
debug=True
The problem is that debug=True
sets the use_reloader=True
unless you set it explicitly to false. The solution is to set use_reloader to false:
use_reloader=False
But I wonder if there is a way to keep the reload going....
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With