How can I run sonarqube source code in idea, and debug the souce code for a secondary development

I want to make a secondary development base on sonarqube7.7 source code , but I can not debug the souce code in IDEA, anyone knows how to config that? Thanks a lot!

Sorry for the very late reply.
The best way is to start SonarQube with debugger enabled in the JVM. Add to the sonar.properties one of the following, depending if you want to debug the code in Compute Engine or Web server:

sonar.web.javaAdditionalOpts=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5006
sonar.ce.javaAdditionalOpts=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5006

Then run in IDEA a “Remote” type of debugger and connect to localhost, port 5006.
Hope this helps.

Thanks for your reply, I have searched by google, find the same way.:grinning: