Skip to content

Instantly share code, notes, and snippets.

@ricgu8086
Created February 27, 2017 19:58
Show Gist options
  • Save ricgu8086/bee062277291ba48db9c866a1f7f5612 to your computer and use it in GitHub Desktop.
Save ricgu8086/bee062277291ba48db9c866a1f7f5612 to your computer and use it in GitHub Desktop.
from IPython.core.debugger import Tracer;
# Place this call wherever you want to start debugging
Tracer()()
"""
Some PDB Debuger commands:
n(ext) line and run this one
c(ontinue) running until next breakpoint
q(uit) the debugger
"""
# From http://kawahara.ca/how-to-debug-a-jupyter-ipython-notebook/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment