You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2021/04/25 19:36:18 UTC

[GitHub] [maven] michael-o commented on a change in pull request #469: [MNG-7090] mvnDebug socket binds on 0.0.0.0

michael-o commented on a change in pull request #469:
URL: https://github.com/apache/maven/pull/469#discussion_r619864958



##########
File path: apache-maven/src/assembly/shared/mvnwDebug
##########
@@ -27,7 +27,11 @@
 #   MAVEN_SKIP_RC   (Optional) Flag to disable loading of mavenrc files.
 # -----------------------------------------------------------------------------
 
-MAVEN_DEBUG_OPTS="-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=0.0.0.0:8000"
+if [ -z "${MAVEN_DEBUG_HOST}" ]; then
+    MAVEN_DEBUG_HOST='localhost'

Review comment:
       Rather use `${...:-DEFAULT_VALUE}`.




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org