diff --git a/runtests.py b/runtests.py
index 2e52db00a2935aaf13c1c9d56faf98502f28e0a1_cnVudGVzdHMucHk=..4bce8e0c8f54b84dcf5b835ecd1addf79643f62d_cnVudGVzdHMucHk= 100755
--- a/runtests.py
+++ b/runtests.py
@@ -2185,7 +2185,7 @@
         for listfile in options.listfile:
             cmd_args.extend(load_listfile(listfile))
 
-    if options.capture:
+    if options.capture and not options.for_debugging:
         keep_alive_interval = 10
     else:
         keep_alive_interval = None