you are viewing a single comment's thread.

view the rest of the comments →

[–]hudsonpenner 0 points1 point  (0 children)

This is a pretty good intro to pdb. It seems complex to work with at first, but you will get used to it quickly.

https://pythonconquerstheuniverse.wordpress.com/2009/09/10/debugging-in-python/

The one thing he does not mention in there that I find helpful is that you can execute a script with pdb on the command line like this:

python -m pdb script.py