[wingide-users] Debug Flask local server

Wing IDE Support support at wingware.com
Mon Feb 24 13:14:02 EST 2014

On 2/24/14, 12:26 PM, Michael Hipp wrote:
> The Flask local server invoked with app.run(debug=True) will reload
> itself whenever it detects a change in any of the python code. But this
> doesn't seem to work when run from the Wing debugger. Is there a way for
> this feature to work yet still have access to the Wing debugger?

Do you know how Flask implements reloading?  A common way to do it is to 
spawn subprocesses with the running server.  If this is the case, Wing 
won't be able to debug them because Wing doesn't debug subprocesses in 
general.  There's usually a way to disable the reload feature and then 
Wing can be used to restart the process as needed.



More information about the wingide-users mailing list