Fixed missing pdb.py issue for pyinstaller, partial for #659

This commit is contained in:
Rhet Turnbull
2022-03-12 09:00:41 -08:00
parent 84a96bd4d0
commit e272e95a85
4 changed files with 19 additions and 12 deletions

View File

@@ -1,7 +1,6 @@
"""Utilities for debugging"""
import logging
import pdb
import sys
import time
from datetime import datetime
@@ -44,7 +43,7 @@ def debug_watch(wrapped, instance, args, kwargs):
def debug_breakpoint(wrapped, instance, args, kwargs):
"""For use with wrapt.wrap_function_wrapper to set breakpoint on a function"""
pdb.set_trace()
breakpoint()
return wrapped(*args, **kwargs)