You can use ipdb inside jupyter with:
from IPython.core.debugger import Tracer; Tracer()()
Edit : The above functions are deprecated with IPython 5.1. This is a new approach:
from IPython.core.debugger import set_trace
Add set_trace() where you need a breakpoint. Type help for ipdb commands when the input box appears.
Leopd Nov 28 '16 at 22:46 2016-11-28 22:46
source share