add embedded ipython for exceptions