flask 

Send to Kindle
home » snippets » python » flask



Debug mode

# Set debug flag to true.  While using app.run(debug=True) or 
# app.run(debug=True) might appear equivalent, that won't have any
# effect if you're not using flask's builtin (i.e. development)
# wsgi server.
app.config.update(DEBUG=True)