Jupyter Notebook
Jupyter Notebook
Debug
%%debug
: Used for non-graphical debugging from pdb import set_trace
: set_trace()
sets a breakpoint and automatically enables debugger mode
Agastya Patel
February 1, 2026
January 27, 2024
%%debug
: Used for non-graphical debugging from pdb import set_trace
: set_trace()
sets a breakpoint and automatically enables debugger mode