Skip to content

Instantly share code, notes, and snippets.

@sergiopena
Forked from obfusk/break.py
Created October 1, 2018 09:07
Show Gist options
  • Save sergiopena/f69e7a14ffae6e961e20dbd941a69782 to your computer and use it in GitHub Desktop.
Save sergiopena/f69e7a14ffae6e961e20dbd941a69782 to your computer and use it in GitHub Desktop.
python equivalent of ruby's binding.pry
import code; code.interact(local=dict(globals(), **locals()))
@sergiopena
Copy link
Author

import ipdb; ipdb.set_trace()

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