How to do a set up that when I call breakpoint(), IPython shell is invoked instead pdb?
Currently, Python uses pdb, which has no completion.
It's done through setting the sys.breakpointhook, which is called when you set a breakpoint():
import sys
import IPython
sys.breakpointhook = IPython.embed
sys.breakpointhook = functools.partial( IPython.embed, display_banner=False ) worked, ipython --no-banner didn't.pdb++: it's entered automatically whenever you call breakpoint()