Flask: Error output to the browser instead of error_log - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Web Scraping & Web Development (https://python-forum.io/forum-13.html) +--- Thread: Flask: Error output to the browser instead of error_log (/thread-12976.html) |
Flask: Error output to the browser instead of error_log - nikos - Sep-21-2018 Can someone explain to me now that i moves from flask's development server to Apache production server how i'am supposed to enable error output to the browser? Isn't there a more easy approach to this? What iam reading in the doc is very complicated to me? in bottle framework i was just using app.debug = True. Is there something similat in Flask too?! RE: Flask: Error output to the browser instead of error_log - thomasp - Sep-28-2018 you won't get error messages like you do in php if that's what you want. You can check the apache logs or use https://flask-debugtoolbar.readthedocs.io/en/latest/ . use this for debug logs: app.config.update(DEBUG = True ) |