Flask debug=True does not work when going through uWSGI
This question is old, but I’ll post this for future reference… If you want to get the werkzeug error page to work with uwsgi, try using werkzeug’s DebuggedApplication middleware: from werkzeug.debug import DebuggedApplication app.wsgi_app = DebuggedApplication(app.wsgi_app, True) That should do the trick but DO NOT FORGET to do this ONLY in development environments.