Django + Werkzeug debugger under shared hosting (passenger)

software development


I’m developing a Django app under a shared hosting account, which means that I have to run the app through Passenger.

Unfortunately, my development would benefit from using a debugger. Apparently the werkzeug debugger is really cool, and I’d like to use it. Unfortunately, setting it to wrap my django app like this doesn’t work:

application = django.core.handlers.wsgi.WSGIHandler() application = DebuggedApplication(application, evalex=True)

Has anyone managed to make this work (or even attempted it?)