Skip to content

Instantly share code, notes, and snippets.

@avirajkhare00
Forked from obfusk/break.py
Created December 7, 2024 13:12
Show Gist options
  • Save avirajkhare00/3682748600907856aa24ead7064c5391 to your computer and use it in GitHub Desktop.
Save avirajkhare00/3682748600907856aa24ead7064c5391 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()))
@avirajkhare00
Copy link
Author

yayyy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment