We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d3c88b commit 861b124Copy full SHA for 861b124
1 file changed
ipykernel/debugger.py
@@ -30,6 +30,14 @@
30
_is_debugpy_available = True
31
except ImportError:
32
_is_debugpy_available = False
33
+except Exception as e:
34
+ # We cannot import the module where the DebuggerInitializationError
35
+ # is defined
36
+ if e.__class__.__name__ == "DebuggerInitializationError":
37
+ _is_debugpy_available = False
38
+ else:
39
+ raise e
40
+
41
42
# Required for backwards compatiblity
43
ROUTING_ID = getattr(zmq, "ROUTING_ID", None) or zmq.IDENTITY
0 commit comments