mozilla-services / mozservices

INACTIVE - http://mzl.la/ghe-archive - Various utilities for Pyramid-based Mozilla applications
33 stars 17 forks source link

Add a simple /__debug__ view, preffed off by default. #7

Closed rfk closed 12 years ago

rfk commented 12 years ago

To enable the debug page you must secify mozsvc.debug=true in your deployment settings.

The logic for this is copied straight from server-core, with suitable modifications for pyramid.

tarekziade commented 12 years ago

I am wondering if we still need this since Pyramid has the Debug Toolbar that's customizable -- e.g. we could add custom buttons in it

rfk commented 12 years ago

OK, debug toolbar sounds good to me :-)

tarekziade commented 12 years ago

see http://docs.pylonsproject.org/projects/pyramid_debugtoolbar/en/latest/