It's really simple: first install the package (from pypi: pip install jupydbg or download from github and unzip in your pythonpath)
The first package, catch, can be used as follows:
- import catch from the module
- invoke the magic %%catch in your cell where an error occurs
- selects the frame that you want to inspect
- click on the button next to it
- then call %eval in a next cell to inspect the data
The second package is to run unittest interactively.
import jupydbg.jupytest
then %test <the suite, case or method>
No comments:
Post a Comment