title: How to run app in debug mode with Flask
body: <p>I've setup a logger with Flask but it doesn't print to the Pycharm console, thought it might be because of not being in debug mode. <code>app.debug = True</code> but <code>FLASK_DEBUG = 0</code> when I run the application.</p>
  
  <pre><code>app = Flask(__name__)
  app.debug = True
  </code></pre>