I was trying to get the interactive ipython which can also make use of auto-complete by doing the following but somehow I see it starting ipdb instead and not being able to make use of auto-complete.
pip install ipython pyreadline
export PYTHONBREAKPOINT=IPython.core.debugger.set_trace
# add breakpoint() somewhere inside the code
python whatever.py
The result is that ipdb is started, and pressing TAB will not do any auto-completes.
ipdb>
In fact the outcome looks the same as doing export PYTHONBREAKPOINT=ipdb.set_trace
which is quite weird.
If I start ipython manually it works fine and auto-complete works.
What am I doing wrong?