@@ -46,14 +46,8 @@ run it using Gradle:
4646==== Launching and debugging from an IDE
4747
4848If 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
5852As such the IDE needs to be instructed to listen for connections on the debug port.
5953Since we might run multiple JVMs as part of configuring and starting the cluster it's
@@ -64,6 +58,12 @@ NOTE: If you have imported the project into IntelliJ according to the instructio
6458link:/CONTRIBUTING.md#importing-the-project-into-intellij-idea[CONTRIBUTING.md] then a debug run configuration
6559named "Debug Elasticsearch" will be created for you and configured appropriately.
6660
61+ Next run the following from your terminal:
62+
63+ ---------------------------------------------------------------------------
64+ ./gradlew run --debug-jvm
65+ ---------------------------------------------------------------------------
66+
6767===== Debugging the CLI launcher
6868
6969The gradle task does not start the Elasticsearch server process directly; like in the Elasticsearch distribution,
0 commit comments