From 8b55158def61644d1a22ea077cda86cee9c50694 2022-01-29 15:15:44 From: Jacob Chapman <7908073+chapmanjacobd@users.noreply.github.com> Date: 2022-01-29 15:15:44 Subject: [PATCH] does this fix it? --- diff --git a/IPython/core/ultratb.py b/IPython/core/ultratb.py index 1f08fa5..146ee56 100644 --- a/IPython/core/ultratb.py +++ b/IPython/core/ultratb.py @@ -907,7 +907,7 @@ class VerboseTB(TBTools): fix that by hand after invoking the exception handler.""" if force or self.call_pdb: - if self.pdb is None: + if self.debugger_cls: self.pdb = self.debugger_cls() # the system displayhook may have changed, restore the original # for pdb