Skip to content

Commit edc3e9f

Browse files
Fix --debug-jvm Gradle Arg (#47773) (#47783)
This fixes the `--debug-jvm` arg to work again for the `run` task. Seems a recent refactoring of `RunTask` introduced this obvious type.
1 parent 1139cce commit edc3e9f

File tree

1 file changed

+1
-1
lines changed
  • buildSrc/src/main/java/org/elasticsearch/gradle/testclusters

1 file changed

+1
-1
lines changed

buildSrc/src/main/java/org/elasticsearch/gradle/testclusters/RunTask.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public class RunTask extends DefaultTestClustersTask {
2323
description = "Enable debugging configuration, to allow attaching a debugger to elasticsearch."
2424
)
2525
public void setDebug(boolean enabled) {
26-
this.debug = debug;
26+
this.debug = enabled;
2727
}
2828

2929
@Input

0 commit comments

Comments
 (0)