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 cce9b7d commit 4cb0041Copy full SHA for 4cb0041
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
+ from pydevd import _pydev_bundle
35
+ from _pydev_bundle._pydev_saved_modules import DebuggerInitializationError
36
+ if isinstance(e, 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