mirror of https://github.com/apache/maven.git
[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:
parent
1a65351b43
commit
32cdc2ec3c
|
@ -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
|
||||
|
||||
|
|
|
@ -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 %*
|
||||
|
|
Loading…
Reference in New Issue