HassenPy / django-pdb

Gives you `manage.py runserver --pdb` and `manage.py test --pdb`
395 stars 61 forks source link

Working with devserver (or apps that override runserver) #2

Closed schinckel closed 12 years ago

schinckel commented 13 years ago

I use django-devserver, which also replaces runserver.

You should document that in order to use django_pdb with something that overrides runserver (or test), you can just do:

MIDDLEWARE_CLASSES += ('django_pdb.middleware.PdbMiddleware',)

And ensure that django_pdb is installed before the other app that overrides the runserver command.

(Being able to --werkzeug with devserver makes it fully awesome).