Launch an IPython shell on exception

Update for IPython v0.13:

import sys
from IPython.core import ultratb
sys.excepthook = ultratb.FormattedTB(mode="Verbose",
     color_scheme="Linux", call_pdb=1)

Leave a Comment