Keep debug in flask.current_app