aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/patches/debug_web.sh
blob: 831a6dd5b17adf7fa2bf85639563cd2837871bea (plain)
1
2
3
4
5
6
7
8
set -euo pipefail

source scripts/property_utils.sh

SQ_HOME=$1

echo "enabling debug on web server, listening on port 5005"
set_property sonar.web.javaAdditionalOpts -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005 $SQ_HOME/conf/sonar.properties