add_debug_hook

Full name: ase2sprkkr.sprkkr.test.debug.add_debug_hook

ase2sprkkr.sprkkr.test.debug.add_debug_hook(only_original=False)[source]

Breaks when an unhandled exception occurs, if the terminal is present

https://stackoverflow.com/questions/1237379/how-do-i-set-sys-excepthook-to-invoke-pdb-globally-in-python