Pdb
Pdb can also print out all existing variables in global or local scope, by typing globals() or locals() in (Pdb) prompt respectively.
globals()
locals()