KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I call app.run(debug=True) in my flask file. and I have it deployed with uWSGI and nginx (I followed these instructions ) uwsgi -s /tmp/uwsgi.sock -w flask_file_name:app -H /path/to/virtual/env --chmod-socket 666 But when I get an error, I don't get any debug information in the browser or in the uWSGI log. Any ideas? flask_file_name.py: 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()
Tags (comma-separated)
Save Edits
Cancel