From 13652bda9f1ec5cbe1096eecfaec95350e139145 Mon Sep 17 00:00:00 2001 From: Zach Brown Date: Sun, 17 Apr 2016 13:32:55 -0500 Subject: [PATCH] Add arguments to test server to allow local debug --- scripts/testServer.sh | 1 + 1 file changed, 1 insertion(+) 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"