Adds --debug-socket arg to Junit tests in test_runner.py

test_runner.py script now accepts an new argument for Junit tests,
namely --debug-socket. If provided, the running script
instructs the JVM to pause and wait for a debugger to be attached at the
provided port/address.

Bug: 785444
Change-Id: I1be2915ee70a9406f98e5f34635c535277eb439e
Reviewed-on: https://chromium-review.googlesource.com/773019
Commit-Queue: Mohamed Heikal <mheikal@google.com>
Reviewed-by: John Budorick <jbudorick@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#516936}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 39ab136fd29694b2029e66aeefb4d3281fd24ecb
3 files changed