Get rid of debug parameter from get_flask_app