Created
April 25, 2018 22:54
-
-
Save WilliamQLiu/4a46b008816ec45c0760c5a82460122e to your computer and use it in GitHub Desktop.
Launch ipdb only on Exception
This file contains hidden or 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
from ipdb import slaunch_ipdb_on_exception | |
with slaunch_ipdb_on_exception(): |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment