Skip to content

Commit

Permalink
Add warning when debugging with debug_wait
Browse files Browse the repository at this point in the history
  • Loading branch information
Zelberor committed Nov 12, 2024
1 parent bda286a commit 5716ef7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/debug_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ def start_debugger(
debugpy.listen((host, port))
logwarn(f"Started debugger on {host}:{port} for {node_module_name}")
if wait_for_client:
logwarn("Waiting until debugging client is attached...")
debugpy.wait_for_client()
except Exception as error:
# Yes, all exceptions should be catched and sent into rosconsole
Expand Down

0 comments on commit 5716ef7

Please sign in to comment.