[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 <wang4luning@gmail.com>
Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
Ada Wang 2022-06-01 20:41:12 +08:00 committed by Cheng Pan
parent 05ee19643f
commit a3718f9b78
No known key found for this signature in database
GPG Key ID: 8001952629BCC75D

View File

@ -39,6 +39,28 @@ In the IDE, you set the corresponding parameters(host&port) in debug configurati
</div>
## 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