Skip to content

Commit b2a1686

Browse files
committed
Change Debug Elasticsearch and debug-jvm order.
1 parent 711d37d commit b2a1686

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

TESTING.asciidoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,20 +46,20 @@ run it using Gradle:
4646
==== Launching and debugging from an IDE
4747

4848
If you want to run and debug Elasticsearch from your IDE, the `./gradlew run` task
49-
supports a remote debugging option. Run the following from your terminal:
50-
51-
---------------------------------------------------------------------------
52-
./gradlew run --debug-jvm
53-
---------------------------------------------------------------------------
54-
55-
Next start the "Debug Elasticsearch" run configuration in IntelliJ. This will enable the IDE to connect to the process and allow debug functionality.
56-
49+
supports a remote debugging option. Start the "Debug Elasticsearch" run configuration in IntelliJ. This will enable the
50+
IDE to connect to the process and allow debug functionality.
5751

5852
As such the IDE needs to be instructed to listen for connections on the debug port.
5953
Since we might run multiple JVMs as part of configuring and starting the cluster it's
6054
recommended to configure the IDE to initiate multiple listening attempts. In case of IntelliJ, this option
6155
is called "Auto restart" and needs to be checked.
6256

57+
Next run the following from your terminal:
58+
59+
---------------------------------------------------------------------------
60+
./gradlew run --debug-jvm
61+
---------------------------------------------------------------------------
62+
6363
NOTE: If you have imported the project into IntelliJ according to the instructions in
6464
link:/CONTRIBUTING.md#importing-the-project-into-intellij-idea[CONTRIBUTING.md] then a debug run configuration
6565
named "Debug Elasticsearch" will be created for you and configured appropriately.

0 commit comments

Comments
 (0)