How can you debug a Flask application?
a) By running Flask in debug mode
b) By using the Flask-WTF extension
c) By modifying the database schema
d) By running flask with the –trace flag
Answer:
a) By running Flask in debug mode
Explanation:
To debug a Flask application, you can enable debug mode, which provides detailed error logs and an interactive debugger when errors occur.