The Python Debugger
It cannot be said enough. The Python Debugger pdb is just a great tool. Say you have a line in a function from which you wish to inspect the environment. Just do a jump into the debugger and analyze:
import pdb; pdb.set_trace()
That's all you need. To get more familiar with the debugger, I suggest visiting the pdb docs at python.org.
Comments for "The Python Debugger"
Currently disabled.