Output object's class:
(Pdb) print obj.__class__
Output object attributes and methods:
(Pdb) for i in dir(obj): print i
Print local variables in the current function:
(Pdb) print locals()
Dumping incoming HTTP GET or HTTP POST:
(Pdb) print "Got request:"
(Pdb) for i in self.request.form.items(): print i
Executing code on the context of the current stack frame:
(Pdb) pp my_tags
['bar', 'barbar']
(Pdb) !my_tags = ['foo', 'foobar']
(Pdb) pp my_tags
['foo', 'foobar']