Skip to content

Instantly share code, notes, and snippets.

@ematvey
Last active December 30, 2015 21:29
Show Gist options
  • Save ematvey/7888100 to your computer and use it in GitHub Desktop.
Save ematvey/7888100 to your computer and use it in GitHub Desktop.
ipdb except hook
import sys
from IPython import embed
def excepthook(type, value, traceback):
embed()
sys.excepthook = excepthook
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment