Skip to content

Commit

Permalink
Merge pull request #5174 from DataShades/resoutre-debugger
Browse files Browse the repository at this point in the history
Fix interactive debugger
  • Loading branch information
amercader committed Jan 27, 2020
2 parents 83deb28 + 0fa22dd commit 2f5ba7a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ckan/config/middleware/flask_app.py
Expand Up @@ -134,8 +134,7 @@ def make_flask_stack(conf, **app_conf):
DebugToolbarExtension(app)

from werkzeug.debug import DebuggedApplication
app = DebuggedApplication(app, True)
app = app.app
app.wsgi_app = DebuggedApplication(app.wsgi_app, True)

log = logging.getLogger('werkzeug')
log.setLevel(logging.DEBUG)
Expand Down

0 comments on commit 2f5ba7a

Please sign in to comment.