diff options
Diffstat (limited to 'debug-server.sh')
-rwxr-xr-x | debug-server.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/debug-server.sh b/debug-server.sh new file mode 100755 index 00000000000..1d1549d9c4d --- /dev/null +++ b/debug-server.sh @@ -0,0 +1,10 @@ +#!/bin/sh + + +cd sonar-application/target/ +if ! ls sonarqube-*/bin/sonar-application*.jar &> /dev/null; then + unzip sonarqube-*.zip +fi + +cd sonarqube-* +java -jar ./lib/sonar-application*.jar -Dsonar.web.javaAdditionalOpts=-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 |