Enabling tab completion in pdb
I will admit being a big fan of pdb, and the debugging functionalities it provides. It still could do more by adding tab completion to guess attributes for python objects. In this post, we will try to address this caveat. Setting up Tab Completion Create a .pdbrc in your home directory. Add the following contents to the file # this adds tab completion import rlcompleter __import__('pdb').Pdb.complete = rlcompleter.Completer(locals()).complete Just save this file and use breakpoint(or import pdb;pdb....