title: What's the best way to disable the default /console route in Flask debug mode?
body: <p>I want my application's dashboard area to be called /console. However, Flask uses werkzeug.debug.DebuggedApplication (<a href="http://werkzeug.pocoo.org/docs/debug/" rel="nofollow">http://werkzeug.pocoo.org/docs/debug/</a>), which uses /console as the default Debug path.  Flask itself only has the debug flag, </p>
  
  <pre><code>app.run(debug=True)
  </code></pre>
  
  <p>with no other options to override that path.  What are my options?</p>
  
  <p>I temporarily added the following, but I'd rather not have to do that because I have some intricate thing's going on in JS on the front-end, like a redirect during registration, etc.</p>
  
  <pre><code>if app.debug:
    app.register_blueprint(.., url_prefix='/con')
  else:
    app.register_blueprint(..., url_prefix='/console')
  </code></pre>