I try to customize behavior of sys.excepthook as described by the recipe.
sys.excepthook
in ipython:
:import pdb, sys, traceback :def info(type, value
See this SO question and make sure there isn't something in your sitecustomize.py that prevents debugging in interactive mode.
sitecustomize.py