title: Flask debug=True does not work when going through uWSGI
body: <p>I call <code>app.run(debug=True)</code> in my flask file.</p>
  
  <p>and I have it deployed with uWSGI and nginx (I followed <a href="http://readncode.com/blog/Deploying-Flask-with-nginx-uWSGI-and-Supervisor/" rel="noreferrer">these instructions</a>)</p>
  
  <pre><code>uwsgi -s /tmp/uwsgi.sock -w flask_file_name:app -H /path/to/virtual/env --chmod-socket 666
  </code></pre>
  
  <p>But when I get an error, I don't get any debug information in the browser or in the uWSGI log.</p>
  
  <p>Any ideas?</p>
  
  <p>flask_file_name.py:</p>
  
  <pre><code>from flask import Flask, make_response, Response, jsonify
  import json
  
  app = Flask(__name__)
  app.debug = True
  
  @app.route("/")
  def hello():
      return "Hello World!"
  
  if __name__ == '__main__':
      app.run()
  </code></pre>