A coworker (hi Will) just introduced me to pdbpp.

As a longtime pdb user, I must say this is SOOO GOOD. Two features alone are worth it: syntax highlighting, and the ll command which prints the entire function around the current line.

One wrinkle is that at work we still have a ton of stuff running on Python 2.5, and pdbpp depends on some other libraries that have recently broken compatibility with 2.5.

To work around this, use slightly older versions of pyrepl and fancycompleter. Try saving this as a requirements.txt file:


Then do pip install -r requirements.txt.