kyuubi/docs/tools/debugging.md
2020-11-16 22:56:25 +08:00

629 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 start

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