pyramid_debugtoolbar
API¶
-
pyramid_debugtoolbar.
includeme
(config)¶ Activate the debug toolbar; usually called via
config.include('pyramid_debugtoolbar')
instead of being invoked directly.
-
pyramid_debugtoolbar.
toolbar_tween_factory
(handler, registry, _logger=None)¶ Pyramid tween factory for the debug toolbar
-
class
pyramid_debugtoolbar.panels.sqla.
SQLADebugPanel
(request)¶ Panel that displays the SQL generated by SQLAlchemy plus the time each SQL statement took in milliseconds.
-
class
pyramid_debugtoolbar.panels.versions.
VersionDebugPanel
(request)¶ Panel that displays the Python version, the Pyramid version, and the versions of other software on your PYTHONPATH.
-
class
pyramid_debugtoolbar.panels.settings.
SettingsDebugPanel
(request)¶ A panel to display Pyramid deployment settings for your application (the values in
registry.settings
).
-
class
pyramid_debugtoolbar.panels.routes.
RoutesDebugPanel
(request)¶ A panel to display the routes used by your Pyramid application.
-
class
pyramid_debugtoolbar.panels.request_vars.
RequestVarsDebugPanel
(request)¶ A panel to display request variables (POST/GET, session, cookies, and ad-hoc request attributes).
-
class
pyramid_debugtoolbar.panels.renderings.
RenderingsDebugPanel
(request)¶ Panel that displays the renderers (templates and ‘static’ renderers such as JSON) used during a request.
-
class
pyramid_debugtoolbar.panels.performance.
PerformanceDebugPanel
(request)¶ Panel that looks at the performance of a request.
It will display the time a request took and, optionally, the cProfile output.
-
class
pyramid_debugtoolbar.panels.logger.
LoggingPanel
(request)¶
-
class
pyramid_debugtoolbar.panels.headers.
HeaderDebugPanel
(request)¶ A panel to display HTTP request and response headers.