Skip to content

Commit 9b73a12

Browse files
authored
Merge pull request #303 from jmtd/java-debug
Remove JAVA_ENABLE_DEBUG and JAVA_DEBUG_ENABLE
2 parents 2cc0a8c + b9438a8 commit 9b73a12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/jvm/artifacts/opt/jboss/container/java/jvm/debug-options

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# a run script.
55

66
debug_options() {
7-
if [ "x${JAVA_ENABLE_DEBUG}" != "x" -o "x${JAVA_DEBUG_ENABLE}" != "x" -o "x${JAVA_DEBUG}" != "x" ]; then
7+
if [ "x${JAVA_DEBUG}" != "x" ]; then
88
local debug_port=${JAVA_DEBUG_PORT:-5005}
99
echo "-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=${debug_port}"
1010
fi

0 commit comments

Comments
 (0)