From edc3e9f0abfdd419b2bd48f07a69a497e0f43bd6 Mon Sep 17 00:00:00 2001 From: Armin Braun Date: Wed, 9 Oct 2019 13:25:16 +0200 Subject: [PATCH] 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. --- .../java/org/elasticsearch/gradle/testclusters/RunTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildSrc/src/main/java/org/elasticsearch/gradle/testclusters/RunTask.java b/buildSrc/src/main/java/org/elasticsearch/gradle/testclusters/RunTask.java index d7a7bbcc41b..39c0c44275e 100644 --- a/buildSrc/src/main/java/org/elasticsearch/gradle/testclusters/RunTask.java +++ b/buildSrc/src/main/java/org/elasticsearch/gradle/testclusters/RunTask.java @@ -23,7 +23,7 @@ public class RunTask extends DefaultTestClustersTask { description = "Enable debugging configuration, to allow attaching a debugger to elasticsearch." ) public void setDebug(boolean enabled) { - this.debug = debug; + this.debug = enabled; } @Input