Oct 31, 2011

How to enable pdb autocomplete?

In a pdb session, just type:
import rlcompleter
pdb.Pdb.complete=rlcompleter.Completer(locals()).complete

But if you use, ipdb, you dont need to import rlcompleter. Thanks to scooby that pointed this out

No comments: