From 5b1d7df49ab076d0445bae24916dbd0316c20666 Mon Sep 17 00:00:00 2001 From: Mike Bender Date: Tue, 9 Jan 2024 16:04:18 -0500 Subject: [PATCH] docs: Add details about how to debug server (#4927) --- 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.