mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-19 04:45:07 -04:00
Add intellij run configurations for multi-node clusters
This commit is contained in:
parent
60ebc31c0c
commit
7527d6f046
4 changed files with 25 additions and 2 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -12,7 +12,7 @@ out/
|
|||
!.idea/eclipseCodeFormatter.xml
|
||||
!.idea/externalDependencies.xml
|
||||
!.idea/inspectionProfiles/Project_Default.xml
|
||||
!.idea/runConfigurations/Debug_Elasticsearch.xml
|
||||
!.idea/runConfigurations/
|
||||
!.idea/scopes/x_pack.xml
|
||||
|
||||
# These files are generated in the main tree by IntelliJ
|
||||
|
|
11
.idea/runConfigurations/Debug_Elasticsearch__node_2_.xml
generated
Normal file
11
.idea/runConfigurations/Debug_Elasticsearch__node_2_.xml
generated
Normal file
|
@ -0,0 +1,11 @@
|
|||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Debug Elasticsearch (node 2)" type="Remote">
|
||||
<option name="USE_SOCKET_TRANSPORT" value="true" />
|
||||
<option name="SERVER_MODE" value="true" />
|
||||
<option name="SHMEM_ADDRESS" />
|
||||
<option name="HOST" value="localhost" />
|
||||
<option name="PORT" value="5008" />
|
||||
<option name="AUTO_RESTART" value="true" />
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
11
.idea/runConfigurations/Debug_Elasticsearch__node_3_.xml
generated
Normal file
11
.idea/runConfigurations/Debug_Elasticsearch__node_3_.xml
generated
Normal file
|
@ -0,0 +1,11 @@
|
|||
<component name="ProjectRunConfigurationManager">
|
||||
<configuration default="false" name="Debug Elasticsearch (node 3)" type="Remote">
|
||||
<option name="USE_SOCKET_TRANSPORT" value="true" />
|
||||
<option name="SERVER_MODE" value="true" />
|
||||
<option name="SHMEM_ADDRESS" />
|
||||
<option name="HOST" value="localhost" />
|
||||
<option name="PORT" value="5009" />
|
||||
<option name="AUTO_RESTART" value="true" />
|
||||
<method v="2" />
|
||||
</configuration>
|
||||
</component>
|
|
@ -392,7 +392,8 @@ port of `5007`.
|
|||
NOTE: In the case of test clusters using multiple nodes, multiple debuggers
|
||||
will need to be attached on incrementing ports. For example, for a 3 node
|
||||
cluster ports `5007`, `5008`, and `5009` will attempt to attach to a listening
|
||||
debugger.
|
||||
debugger. You can use the "Debug Elasticsearch (node 2)" and "(node 3)" run
|
||||
configurations should you need to debug a multi-node cluster.
|
||||
|
||||
You can also use a combination of both flags to debug both tests and server.
|
||||
This is only applicable to Java REST tests.
|
||||
|
|
Loading…
Add table
Reference in a new issue