Source code for flask_diamond.facets.debugger

# -*- coding: utf-8 -*-
# Flask-Diamond (c) Ian Dennis Miller

from flask_debugtoolbar import DebugToolbarExtension

toolbar = DebugToolbarExtension()

[docs]def init_debugger(self): """ Initialize the DebugToolbar :returns: None The `DebugToolbar <http://flask->`_ is a handy utility for debugging your application during development. This function obeys the ``DEBUG_TOOLBAR`` configuration setting. Only if this value is explicitly set to True will the Debug Toolbarr run. """ if 'DEBUG_TOOLBAR' in and['DEBUG_TOOLBAR']: toolbar.init_app(

Topic Navigation