From a3718f9b78a0da54f415fbcea3d9b084264299f0 Mon Sep 17 00:00:00 2001 From: Ada Wang Date: Wed, 1 Jun 2022 20:41:12 +0800 Subject: [PATCH] [KYUUBI #2793][DOCS] Add debugging engine ### _Why are the changes needed?_ Add a doc of debugging engine in `debugging.md`. ### _How was this patch tested?_ - [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible - [ ] Add screenshots for manual tests if appropriate - [x] [Run test](https://kyuubi.apache.org/docs/latest/develop_tools/testing.html#running-tests) locally before make a pull request Closes #2798 from deadwind4/KYUUBI-2793-debug-engine-doc. Closes #2793 3f24ca5b [Ada Wang] [KYUUBI #2793][DOCS] Add debugging engine Authored-by: Ada Wang Signed-off-by: Cheng Pan --- docs/develop_tools/debugging.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docs/develop_tools/debugging.md b/docs/develop_tools/debugging.md index b2c547106..90ebd58f6 100644 --- a/docs/develop_tools/debugging.md +++ b/docs/develop_tools/debugging.md @@ -39,6 +39,28 @@ In the IDE, you set the corresponding parameters(host&port) in debug configurati +## Debugging Engine + +We can configure the Kyuubi properties to enable debugging engine. + +### Flink Engine + +```bash +kyuubi.engine.flink.java.options -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005 +``` + +### Trino Engine + +```bash +kyuubi.engine.trino.java.options -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005 +``` + +### Hive Engine + +```bash +kyuubi.engine.hive.java.options -agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005 +``` + ## Debugging Apps ### Spark Engine