Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion ipykernel/ipkernel.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ class IPythonKernel(KernelBase):
shell = Instance("IPython.core.interactiveshell.InteractiveShellABC", allow_none=True)
shell_class = Type(ZMQInteractiveShell)

debugger_class = Type(Debugger)

use_experimental_completions = Bool(
True,
help="Set this flag to False to deactivate the use of experimental IPython completion APIs.",
Expand Down Expand Up @@ -114,7 +116,7 @@ def __init__(self, **kwargs):

# Initialize the Debugger
if _is_debugpy_available:
self.debugger = Debugger(
self.debugger = self.debugger_class(
self.log,
self.debugpy_socket,
self._publish_debug_event,
Expand Down
Loading