Skip to content

Instantly share code, notes, and snippets.

@WilliamQLiu
Created April 25, 2018 22:54
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 WilliamQLiu/4a46b008816ec45c0760c5a82460122e to your computer and use it in GitHub Desktop.
Save WilliamQLiu/4a46b008816ec45c0760c5a82460122e to your computer and use it in GitHub Desktop.
Launch ipdb only on Exception
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