aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
authorZach Brown <[email protected]>2016-04-17 13:32:55 -0500
committerZach Brown <[email protected]>2016-04-17 13:32:55 -0500
commit13652bda9f1ec5cbe1096eecfaec95350e139145 (patch)
tree0a1568dbb3dee4c54bb97bbac00c7ac70b3d7f23 /scripts
parent2e57c5774e1a3eb6302d8e53cf581ddad9a2dc1a (diff)
downloadPaper-13652bda9f1ec5cbe1096eecfaec95350e139145.tar.gz
Paper-13652bda9f1ec5cbe1096eecfaec95350e139145.zip
Add arguments to test server to allow local debug
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/testServer.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/testServer.sh b/scripts/testServer.sh
index e1c79f31ef..39e3064c6d 100755
--- a/scripts/testServer.sh
+++ b/scripts/testServer.sh
@@ -80,6 +80,7 @@ fi
baseargs="-server -Xmx${PAPER_TEST_MEMORY:-2G} -Dfile.encoding=UTF-8 -XX:MaxGCPauseMillis=50 -XX:+UseG1GC"
baseargs="$baseargs -XX:+UnlockExperimentalVMOptions -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=70 "
+baseargs="$baseargs -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=5005"
cmd="java ${PAPER_TEST_BASE_JVM_ARGS:-$baseargs} ${PAPER_TEST_EXTRA_JVM_ARGS} -jar $jar"