From Python.org:
You then get all IPython features (tab completion, syntax highlighting, better tracebacks, better introspection) right in pdb. If you install ipdb with a tool which supports setuptools entry points an ipdb script is made for you. You can use it to debug your scripts like.