Run and debug doctest in IPython