Skip to content

Instantly share code, notes, and snippets.

@wonglkd
Created June 23, 2017 06:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wonglkd/93b1c175fbe950f34a0394d0b4be6536 to your computer and use it in GitHub Desktop.
Save wonglkd/93b1c175fbe950f34a0394d0b4be6536 to your computer and use it in GitHub Desktop.
import pdb, sys, traceback
def info(type, value, tb):
traceback.print_exception(type, value, tb)
pdb.pm()
sys.excepthook = info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment