How to debug a Gravitee API gateway plugin

Viewed 20

I'm attempting to write a prototype plugin for the Gravitee API gateway. I'd like to be able to use an interactive debugger to allow visibility into the API Gateway JVM. In order to do this, I need to introduce an "-agentlib" command line option onto the java command which runs the gateway. I tried setting the INSTALL4J_ADD_VM_PARAMS in the atom script, but that only seems to get applied to the Launcher JVM, and not to the actual Gateway JVM. I looked through the Gateway config files, but I don't see an obvious way of doing this.

0 Answers
Related