Skip to content

Commit 2b8cd7b

Browse files
committed
moved --debug-jvm docs next to other gradle run docs
1 parent ed99ef5 commit 2b8cd7b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

TESTING.asciidoc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ run it using Gradle:
2525
./gradlew run
2626
-------------------------------------
2727

28+
==== Launching and debugging from an IDE
29+
30+
If you want to run Elasticsearch from your IDE, the `./gradlew run` task
31+
supports a remote debugging option:
32+
33+
---------------------------------------------------------------------------
34+
./gradlew run --debug-jvm
35+
---------------------------------------------------------------------------
36+
2837
==== Distribution
2938

3039
By default a node is started with the zip distribution.
@@ -603,15 +612,6 @@ as its build system. Since the switch to Gradle though, this is no longer possib
603612
the code currently used to build Elasticsearch does not allow JaCoCo to recognize its tests.
604613
For more information on this, see the discussion in https://github.com/elastic/elasticsearch/issues/28867[issue #28867].
605614

606-
== Launching and debugging from an IDE
607-
608-
If you want to run Elasticsearch from your IDE, the `./gradlew run` task
609-
supports a remote debugging option:
610-
611-
---------------------------------------------------------------------------
612-
./gradlew run --debug-jvm
613-
---------------------------------------------------------------------------
614-
615615
== Debugging remotely from an IDE
616616

617617
If you want to run Elasticsearch and be able to remotely attach the process

0 commit comments

Comments
 (0)