Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript Python CSS Other
Failed to load latest commit information.
demo finalize activation concept by preventing anyone from disabling the d…
docs fix some out of date docs and reformat changelog
pyramid_debugtoolbar modify the notfound body for each decorator
tests fix failing test
.gitignore ignore extra files for nose/coverage now
.travis.yml Adds Pyramid version tests; bumps required version.
CHANGES.txt prep 2.4
CONTRIBUTORS.txt Allow the auth predicate to protect toolbar views.
LICENSE.txt add licensing info for ipaddr code
README.rst remove 1.2a1 info from readme
TODO.txt
rtd.txt allow rtd to build with the doc requirements
setup.cfg remove where for reasons
setup.py prep 2.4
tox.ini Adds Pyramid version tests; bumps required version.

README.rst

pyramid_debugtoolbar

pyramid_debugtoolbar provides a debug toolbar useful while you're developing your Pyramid application.

Note that pyramid_debugtoolbar is a blatant rip-off of Michael van Tellingen's flask-debugtoolbar (which itself was derived from Rob Hudson's django-debugtoolbar). It also includes a lightly sanded down version of the Werkzeug debugger code by Armin Ronacher and team.

Documentation

The documentation of the current stable release of pyramid_debugtoolbar is available at http://docs.pylonsproject.org/projects/pyramid-debugtoolbar/en/latest/.

Demonstration

For a demonstration:

  • Create a virtualenv:

    $ VENV=$(pwd)/venv # just set the path to our virtualenv
    $ virtualenv --python=python2.7 $VENV
    
  • Clone the Pyramid trunk:

    $ git clone https://github.com/Pylons/pyramid.git
    
  • Install the Pyramid trunk into the virtualenv:

    $ cd pyramid
    $ $VENV/bin/python setup.py develop
    
  • Clone the pyramid_debugtoolbar trunk:

    $ git clone https://github.com/Pylons/pyramid_debugtoolbar.git
    
  • Install the pyramid_debugtoolbar trunk into the virtualenv:

    $ cd pyramid_debugtoolbar
    $ $VENV/bin/python setup.py develop
    
  • Install the pyramid_debugtoolbar/demo package into the virtualenv:

    $ cd demo
    $ $VENV/bin/python setup.py develop
    
  • Run the pyramid_debugtoolbar package's demo/demo.py file using the virtualenv's Python:

    $ $VENV/bin/python demo.py
    

You will see a page full of test options to try when you visit http://localhost:8080.

Something went wrong with that request. Please try again.