Skip to content

Commit c96a321

Browse files
committed
refactor(debugger): move import in cli handler in to cli function
1 parent 92c1911 commit c96a321

File tree

1 file changed

+1
-1
lines changed
  • packages/debugger/src/robotcode/debugger

1 file changed

+1
-1
lines changed

packages/debugger/src/robotcode/debugger/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
)
1212

1313
from .__version__ import __version__
14-
from .run import run_debugger
1514

1615
DEBUGGER_DEFAULT_PORT = 6612
1716
DEBUGPY_DEFAULT_PORT = 5678
@@ -136,6 +135,7 @@ def debug(
136135
robot_options_and_args: Tuple[str, ...],
137136
) -> None:
138137
"""Starts a Robot Framework debug session and waits for incomming connections."""
138+
from .run import run_debugger
139139

140140
mode, port, bind, pipe_name = resolve_server_options(
141141
ctx, app, mode, port, bind, pipe_name, tcp, None, None, None, pipe_server

0 commit comments

Comments
 (0)