Reputation: 421
General question that I cannot seem to get an answer for from the SonarQube confluence page.
I am looking to write a plugin for Sonar, but am unable to effectively setup my environment in an effective manner. I am able to connect a debugger to a Sonar server instance (by enabling the debug line in the wrapper config file) and I am able to hit breakpoints as the plugin is accessed from the Sonar UI, but....
If anyone has resources that talk about configuring this, that would be great. The official website is a bit sparse.
Thanks
Upvotes: 2
Views: 1503
Reputation: 2850
You can also remotely debug part of your Sonar plugin running on batch side if you execute sonar-runner with the following java options -Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
but indeed there is no way to do hot deployment.
Upvotes: 3