From ca176daf5d5f7c24ecb8e5641d5ceaf69c34c6e4 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Tue, 7 Mar 2023 10:34:10 +0100 Subject: [PATCH] This is a demo, so allow remote connections for debugging VM --- demo/jline-gogo.bat | 4 ++-- demo/jline-gogo.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/demo/jline-gogo.bat b/demo/jline-gogo.bat index 6d0686be4..d53b8e14b 100755 --- a/demo/jline-gogo.bat +++ b/demo/jline-gogo.bat @@ -62,12 +62,12 @@ set "logconf=%DIRNAME%etc\logging.properties" goto :RUN_LOOP :EXECUTE_DEBUG - set "opts=%opts% -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005" + set "opts=%opts% -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005" shift goto :RUN_LOOP :EXECUTE_DEBUGS - set "opts=%opts% -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005" + set "opts=%opts% -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005" shift goto :RUN_LOOP diff --git a/demo/jline-gogo.sh b/demo/jline-gogo.sh index 3d852886e..1444171d3 100755 --- a/demo/jline-gogo.sh +++ b/demo/jline-gogo.sh @@ -37,11 +37,11 @@ logconf="${DIRNAME}/etc/logging.properties" while [ "${1}" != "" ]; do case ${1} in 'debug') - opts="${opts} -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005" + opts="${opts} -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5005" shift ;; 'debugs') - opts="${opts} -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005" + opts="${opts} -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=*:5005" shift ;; 'jansi')