Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

pdb.set_trace alternative with apache/wsgi

I have just migrated my development enviroment from manage.py to apache/wsgi, how ever when I run pdb.set_trace() I get BdbQuit. Is there a way to work with something like pdb.set_trace under apache/wsgi ?

like image 629
juanefren Avatar asked May 02 '26 21:05

juanefren


1 Answers

You'll need a remote debugger. Look into rpdb2 here: http://winpdb.org/docs/embedded-debugging/

Of course, Apache+WSGI is typically a production environment and is going to be harder to debug then running the development appserver with manage.py.

like image 75
stderr Avatar answered May 05 '26 09:05

stderr