Pyramid debugtoolbar extension for mongo
Project description
==================================
Pyramid Debug Toolbar MongoDB Panel
==================================
An extension panel for Pyramid Debug Toolbar that adds
MongoDB debugging information
This is a clone of https://github.com/hmarr/django-debug-toolbar-mongo
for the Pyramid Debug Toolbar (https://github.com/Pylons/pyramid_debugtoolbar)
Author: Gilles Devaux (http://github.com/gilles)
Setup
=====
Add the following lines to your paster config file::
pyramid.includes =
...
pyramid_debugtoolbar
pyramid_debugtoolbar_mongo
...
debugtoolbar.panels =
pyramid_debugtoolbar.panels.versions.VersionDebugPanel
pyramid_debugtoolbar.panels.settings.SettingsDebugPanel
pyramid_debugtoolbar.panels.headers.HeaderDebugPanel
pyramid_debugtoolbar.panels.request_vars.RequestVarsDebugPanel
pyramid_debugtoolbar.panels.renderings.RenderingsDebugPanel
pyramid_debugtoolbar.panels.logger.LoggingPanel
pyramid_debugtoolbar.panels.performance.PerformanceDebugPanel
pyramid_debugtoolbar.panels.routes.RoutesDebugPanel
pyramid_debugtoolbar.panels.sqla.SQLADebugPanel
pyramid_debugtoolbar.panels.tweens.TweensDebugPanel
pyramid_debugtoolbar.panels.introspection.IntrospectionDebugPanel
pyramid_debugtoolbar_mongo.panels.mongo.MongoDebugPanel
An extra panel titled "MongoDB" should appear in your debug toolbar.
Obtaining stack traces can slow down queries significantly. To turn them off
add the following lines to your paster config file::
debugtoolbarmongo.stacktrace = false
TODO
====
* Nice layout
* Drop down for the stack trace
* Tests
Contributions welcome
Pyramid Debug Toolbar MongoDB Panel
==================================
An extension panel for Pyramid Debug Toolbar that adds
MongoDB debugging information
This is a clone of https://github.com/hmarr/django-debug-toolbar-mongo
for the Pyramid Debug Toolbar (https://github.com/Pylons/pyramid_debugtoolbar)
Author: Gilles Devaux (http://github.com/gilles)
Setup
=====
Add the following lines to your paster config file::
pyramid.includes =
...
pyramid_debugtoolbar
pyramid_debugtoolbar_mongo
...
debugtoolbar.panels =
pyramid_debugtoolbar.panels.versions.VersionDebugPanel
pyramid_debugtoolbar.panels.settings.SettingsDebugPanel
pyramid_debugtoolbar.panels.headers.HeaderDebugPanel
pyramid_debugtoolbar.panels.request_vars.RequestVarsDebugPanel
pyramid_debugtoolbar.panels.renderings.RenderingsDebugPanel
pyramid_debugtoolbar.panels.logger.LoggingPanel
pyramid_debugtoolbar.panels.performance.PerformanceDebugPanel
pyramid_debugtoolbar.panels.routes.RoutesDebugPanel
pyramid_debugtoolbar.panels.sqla.SQLADebugPanel
pyramid_debugtoolbar.panels.tweens.TweensDebugPanel
pyramid_debugtoolbar.panels.introspection.IntrospectionDebugPanel
pyramid_debugtoolbar_mongo.panels.mongo.MongoDebugPanel
An extra panel titled "MongoDB" should appear in your debug toolbar.
Obtaining stack traces can slow down queries significantly. To turn them off
add the following lines to your paster config file::
debugtoolbarmongo.stacktrace = false
TODO
====
* Nice layout
* Drop down for the stack trace
* Tests
Contributions welcome
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for pyramid_debugtoolbar_mongo-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c5a40af9e233eb8c9052611503ee11c2afa6bb7cdf912ca0d104b1e73621439 |
|
MD5 | ed1053cbefa4e6cf79e692affe71b25c |
|
BLAKE2b-256 | 9a59b67a6f9fb124d22399096aee8a6a192f55a4c3325bed071cb66d94e2ff92 |