Diagnostic into ipython