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/11943abc04cfaa4aa2ed1304ce635fbf to your computer and use it in GitHub Desktop.
Save wonglkd/11943abc04cfaa4aa2ed1304ce635fbf 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