I just watched a talk
on doing cool things with terminals in python. That talk mentioned pudb
, an interactive debugger for python. That looks even more useful than just pdb (which is already very useful). I'm looking forward to trying it. Maybe soon I'll change my habits and replace "import pdb; pdb.set_trace()" with "import pudb; pudb.set_trace()".
Especially as http://stackoverflow.com/questions/22412416/how-to-debug-unittests-with-pudb-debugger suggests that's only way to debug your unittests with pudb.
Another thing from that talk that looks interesting is ptpython
(written using PPT