Pyramid debugtoolbar extension for mongo
Project description
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)
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
Built Distribution
Close
Hashes for pyramid_debugtoolbar_mongo-0.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cac3a3cf16dd3c571d355ff106eac07f06fc4d160cb67a2440dc7187d7936b8 |
|
MD5 | 57ecc3817cdd604b7b2368eeddbcd61e |
|
BLAKE2b-256 | 626e07c570f54677d720bb40cd8d7223931895b404e927251f9a9985df84ed29 |
Close
Hashes for pyramid_debugtoolbar_mongo-0.2.3-py2.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92200ccf05f00e91c1bb7c412f9a40daade806639f1dd4f1cc07987593d0d27e |
|
MD5 | 64a030c12967c514a99d29aee650f6a6 |
|
BLAKE2b-256 | ee06cd917bd568ec1c6d0aebd2dc27d7f54411d6f57ef77e7909d5a67d59f403 |