Created
June 23, 2017 06:24
-
-
Save wonglkd/11943abc04cfaa4aa2ed1304ce635fbf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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