rduplain/flask-script — Issue #27: Do not catch exceptions; support for DEBUG
Author: rduplain
Created: 2012-02-29 15:53:17+00:00
State: open
Labels: enhancement, import

**Problem**:: Using an python debugger (e.g. IDE) exceptions should not be cached by the flask/werkzeug framework.

**Situation**:: //use_debugger// and //use_reloader// are not enought to disable PON'T PANIC support in werkzeug

**Solution**:: Use the //DEBUG=True// configuration parameter to advice flask-script to disable all exceptions handlers in flask and werkzeug. See the attached patch.

---------------------------------------
- Bitbucket: https://bitbucket.org/danjac/flask-script/issue/15
- Originally Reported By: [ ](http://bitbucket.org/bossekr)
- Originally Created At: 2010-09-19 15:57:06