Skip to content

Instantly share code, notes, and snippets.

@d-m-u
Forked from obfusk/break.py
Created November 10, 2025 05:32
Show Gist options
  • Select an option

  • Save d-m-u/0d49976feb286d8b9c5eaeccf9ca2791 to your computer and use it in GitHub Desktop.

Select an option

Save d-m-u/0d49976feb286d8b9c5eaeccf9ca2791 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