Debugging a Plugin

Is there an easy way to debug a plugin (the java portion of it). Right now I have to compile the plugin via mvn package then load it into my graylog2-server and have it print logs to check things via a Logger.

Using graylog-project and the graylog-project-cli tool, you can create a multi-module build including Graylog and your plugin.

This way you can, for example, use IntelliJ IDEA to debug the plugin running inside Graylog like any other piece of code.

Added my plugin as a module in the pom.xml of graylog-project and also as a dependency! Works great!!! Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.