File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -46,20 +46,20 @@ 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
6054recommended to configure the IDE to initiate multiple listening attempts. In case of IntelliJ, this option
6155is 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+
6363NOTE: If you have imported the project into IntelliJ according to the instructions in
6464link:/CONTRIBUTING.md#importing-the-project-into-intellij-idea[CONTRIBUTING.md] then a debug run configuration
6565named "Debug Elasticsearch" will be created for you and configured appropriately.
You can’t perform that action at this time.
0 commit comments