Using Python ipdb from Jupyter

If we try to use the usual ipdb commands from a Jupyter (IPython notebook)

we will get a similar error:

The solution is to use Tracer instead:

Source: http://stackoverflow.com/questions/35613249/using-ipdb-to-debug-python-code-in-one-cell-jupyter-or-ipython