I develop my django app on a mac with the dev server. When I run manage.py test I am able to break execution with pdb (as I can also when just running the site).
When I push the app to my linux production server (Ubuntu) running apache2/nginx pdb it no longer works on the site. It throws a BdbQuit Exception. I figured it would work when I ran manage.py test, but was surprised to find that the test just skipped over the pdb.set_trace() calls without stopping for them.
This seems to imply that manage.py test is running over the webserver, but that seems counter-intuitive, as my test code is pure python without any HTTP.
If manage.py test is hooking into the webserver is there a way for me to tell it to use the dev server?
I've tried installing ipdb, btw, and it does the same thing.