[MNG-7090] mvnDebug does not work on Java 11+

Submitted by: Guillaume Dufour

mvnDebug socket binds on 0.0.0.0
This commit is contained in:
Guillaume Dufour 2021-04-25 18:35:47 +02:00
parent 1a65351b43
commit 32cdc2ec3c
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@
# MAVEN_SKIP_RC (Optional) Flag to disable loading of mavenrc files.
# -----------------------------------------------------------------------------
MAVEN_DEBUG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000"
MAVEN_DEBUG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=0.0.0.0:8000"
echo Preparing to execute Maven Wrapper in debug mode

View File

@ -28,6 +28,6 @@
@REM -----------------------------------------------------------------------------
@setlocal
@set MAVEN_DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
@set MAVEN_DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=0.0.0.0:8000
@call "%~dp0"mvnw.cmd %*