From 38ffb79d82da1c7e52aa2a1e1924593dfa0fe500 Mon Sep 17 00:00:00 2001 From: Adrien <21343492+souliane@users.noreply.github.com> Date: Wed, 30 Aug 2023 17:17:53 +0200 Subject: [PATCH] Do not raise when an instance already exists (fixes issue #607) --- pudb/debugger.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pudb/debugger.py b/pudb/debugger.py index 676fdb7b..684708c1 100644 --- a/pudb/debugger.py +++ b/pudb/debugger.py @@ -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