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 20:28:51 UTC

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

Dufgui commented on a change in pull request #469:
URL: https://github.com/apache/maven/pull/469#discussion_r619872748



##########
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:
       No it's only available for bash. Not for sh. i prefere to use the most standard simple way.




-- 
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