Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

2 items tagged “pdb”

modswgi: Debugging Techniques. mod_wsgi is excellent software, and the documentation is equally superb. I used these instructions recently to run the Python debugger inside a running instance of Apache, which helped my track down some import errors that weren’t occurring with Django’s development server. 0 25th May 2008, 1:34 pm

The joy of pdb.set_trace(). I use nosetests --pdb-failures as my main entrypoint for Python debugging—it starts the debugger at the first failing test. 0 25th April 2007, 11:37 pm

A django site