From 7bd65a0b6702f6ed6ab39c06ae254329674005d2 Mon Sep 17 00:00:00 2001 From: mikebender Date: Fri, 8 Dec 2023 10:43:08 -0500 Subject: [PATCH] docs: Add details about how to debug server --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 9aada202470..d9ac9428429 100644 --- a/README.md +++ b/README.md @@ -179,6 +179,13 @@ cd deephaven-core ./gradlew server-jetty-app:run -Pgroovy ``` +#### Debugging + +You can debug the server by adding the `-Pdebug` flag, and then attaching a debugger to port 5005. This can be used in conjunction with other flags. For example, if you wanted to debug a server and startup with Groovy: +```sh +./gradlew server-jetty-app:run -Pgroovy -Pdebug +``` + ## Get the authentication key Deephaven, by default, uses [pre-shared key authentication](https://deephaven.io/core/docs/how-to-guides/authentication/auth-psk/) to authenticate against unauthorized access.