Skip to content

Commit

Permalink
Do not raise when an instance already exists (fixes issue inducer#607)
Browse files Browse the repository at this point in the history
  • Loading branch information
souliane committed Aug 30, 2023
1 parent b9c1948 commit 38ffb79
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pudb/debugger.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,8 +186,6 @@ class Debugger(bdb.Bdb):
def __init__(self, stdin=None, stdout=None, term_size=None, steal_output=False,
_continue_at_start=False, **kwargs):

if Debugger._current_debugger:
raise ValueError("a Debugger instance already exists")
self._current_debugger.append(self)

# Pass remaining kwargs to python debugger framework
Expand Down

0 comments on commit 38ffb79

Please sign in to comment.