Skip to content

Instantly share code, notes, and snippets.

@galileoguzman
Forked from obfusk/break.py
Created January 13, 2023 18:17
Show Gist options
  • Save galileoguzman/f31cec8e136c6b4996dfcb9f4ee66cf7 to your computer and use it in GitHub Desktop.
Save galileoguzman/f31cec8e136c6b4996dfcb9f4ee66cf7 to your computer and use it in GitHub Desktop.
python "breakpoint" (more or less equivalent to ruby's binding.pry); for a proper debugger, use https://docs.python.org/3/library/pdb.html
import code; code.interact(local=dict(globals(), **locals()))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment