Skip to content

Instantly share code, notes, and snippets.

@xieyunzi
Forked from obfusk/break.py
Created May 29, 2017 15:27
Show Gist options
  • Save xieyunzi/773938795e53165fd577417f052d6981 to your computer and use it in GitHub Desktop.
Save xieyunzi/773938795e53165fd577417f052d6981 to your computer and use it in GitHub Desktop.
python equivalent of ruby's binding.pry
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