aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/assembly/bin/sonar-scanner-debug.bat
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/assembly/bin/sonar-scanner-debug.bat')
-rw-r--r--src/main/assembly/bin/sonar-scanner-debug.bat13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/main/assembly/bin/sonar-scanner-debug.bat b/src/main/assembly/bin/sonar-scanner-debug.bat
new file mode 100644
index 0000000..90bc429
--- /dev/null
+++ b/src/main/assembly/bin/sonar-scanner-debug.bat
@@ -0,0 +1,13 @@
+@REM SonarQube Runner Startup Script for Windows
+@REM
+@REM Required ENV vars:
+@REM JAVA_HOME - location of a JDK home dir
+@REM
+@REM Optional ENV vars:
+@REM SONAR_SCANNER_HOME - location of runner's installed home dir
+@REM SONAR_SCANNER_OPTS - parameters passed to the Java VM when running Sonar
+
+@setlocal
+@set SONAR_SCANNER_DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000
+echo "SONAR_SCANNER_DEBUG_OPTS=-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000"
+@call "%~dp0"sonar-scanner.bat %*