DEV Community

importostar
importostar

Posted on

How to debug a Flask app?

Learn Flask, Python Web Development

If you want to debug your Python Flask app, that's easy to do. So what you want to do is, in your app object add the parameter debug is true.

app.run(debug=True)

The app then outputs a lot more data. All of the data is shown in the terminal.

For more Python debugging, you can reference this article https://pythonspot.com/python-debugging/

Top comments (0)