Jupyter Snippet CB2nd 09_debugging

Jupyter Snippet CB2nd 09_debugging

2.9. Debugging code with IPython

import pdb
pdb.set_trace()
%run -d -b extscript.py:20 script
from IPython import embed
embed()