In the iPython 4.2.x series calling from IPython.core.debugger import Tracer; Tracer()() allows tab-completion .. This feature seems to have disappeared in iPython 5.x Thanks Carlos