flask-debugtoolbar not showing


I have installed flask-debugtoolbar for better debugging.

Followed the instructions here. I also restarted the server in hope to get it right.

Here is my code.


from flask import Flask
from flask.ext.mail import Mail
from flask_debugtoolbar import DebugToolbarExtension

app = Flask(__name__, static_url_path='')
toolbar = DebugToolbarExtension(app)


Figured it out.

Added this line,

app.config['SECRET_KEY'] = '<replace with a secret key>'


toolbar = DebugToolbarExtension(app)

Just Exactly followed this.

Answered By – Rahul Bali

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published