Added a requirement; added a debug handler

This commit is contained in:
2024-05-03 01:08:49 -05:00
parent b78fac0aa5
commit 48bac7e791
4 changed files with 13 additions and 3 deletions

View File

@@ -37,6 +37,14 @@ def debug_signal_handler(signal, frame):
except Exception as ex:
...
try:
import ipdb
logger.debug("\n\nStarting IPDB debugger...\n\n")
ipdb.set_trace()
return
except Exception as ex:
...
try:
import pdb
logger.debug("\n\nStarting embedded PDB debugger...\n\n")