Hacker News new | ask | show | jobs
by Y_Y 1681 days ago
You can definitely do something similar with e.g. ipdb

  from ipdb import launch_ipdb_on_exception
  with launch_ipdb_on_exception():
    foo()