Skip to content

Commit 0bbeac3

Browse files
authored
Add simple IntelliJ debugger config (opensearch-project#2287)
Signed-off-by: Jay Deng <[email protected]>
1 parent 7523cc3 commit 0bbeac3

File tree

2 files changed

+16
-1
lines changed

2 files changed

+16
-1
lines changed

.idea/runConfigurations/Debug_OpenSearch.xml

+15
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

DEVELOPER_GUIDE.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ OR
413413
./gradlew run --debug-jvm # to just start a cluster that can be debugged
414414
```
415415
416-
The OpenSearch server JVM will connect to a debugger attached to `localhost:5005` before starting. If there are multiple nodes, the servers will connect to debuggers listening on ports `5005, 5006, ...`
416+
The OpenSearch server JVM will connect to a debugger attached to `localhost:5005` before starting. If there are multiple nodes, the servers will connect to debuggers listening on ports `5005, 5006, ...`. A simple debugger configuration for IntelliJ is included in this project and can be found [here](https://github.com/opensearch-project/k-NN/tree/main/.idea/runConfigurations/Debug_OpenSearch.xml).
417417
418418
To debug code running in an integration test (which exercises the server from a separate JVM), first, setup a remote debugger listening on port `8000`, and then run:
419419

0 commit comments

Comments
 (0)