Debugging mode is not propagate to mounted apps (DispatcherMiddleware) #573

nbcmayhem opened this Issue Aug 5, 2012 · 1 comment


None yet
2 participants

from flask import Flask
from backend import app as backend

frontend = Flask('root')

@frontend ....

frontend.wsgi_app = DispatcherMiddleware(frontend.wsgi_app, {
    '/mountpoint': backend

from root import frontend as app

    frontend.debug = True

debugger is only available in the frontend domain, not within the mountpoint


mitsuhiko commented Aug 5, 2012

That is intentional. The dispatcher middleware is working on the wsgi level. If you want that behavior you would have to subclass it and update the config of the inner apps.

mitsuhiko closed this Aug 5, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment