summaryrefslogtreecommitdiffstats
path: root/scripts/automation/trex_control_plane/stl/console/trex_console.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/automation/trex_control_plane/stl/console/trex_console.py')
-rwxr-xr-xscripts/automation/trex_control_plane/stl/console/trex_console.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/scripts/automation/trex_control_plane/stl/console/trex_console.py b/scripts/automation/trex_control_plane/stl/console/trex_console.py
index a0ff472d..4329d310 100755
--- a/scripts/automation/trex_control_plane/stl/console/trex_console.py
+++ b/scripts/automation/trex_control_plane/stl/console/trex_console.py
@@ -312,6 +312,13 @@ class TRexConsole(TRexGeneralCmd):
def help_push (self):
self.do_push("-h")
+ def do_debug (self, line):
+ '''Launches IPython for interactively debugging'''
+ self.stateless_client.debug_line(line)
+
+ def help_debug (self):
+ self.do_debug('-h')
+
@verify_connected
def do_portattr (self, line):
'''Change/show port(s) attributes\n'''