kyuubi/docs/tools/debugging.md
2020-11-05 19:05:26 +08:00

632 B

Debugging Kyuubi

You can use the Java Debug Wire Protocol to debug Kyuubi w/ your favorite IDE tool, e.g. Intellij IDEA.

We can configure the JDWP agent in KYUUBI_JAVA_OPTS for debugging.

For example,

KYUUBI_JAVA_OPTS=-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005 \
bin/kyuubi.sh start

In the IDE, you set the corresponding parameters(host&port) in debug configurations, for example,