islandsurvivalcraft/test-server/start-debug-server-process.ps1
Harrison 421af33658 Changed test-server scripts and reconfigured tasks.
VSCode task output and cleanup config changed.

Added some more verbosity to scripts.
2020-04-22 21:16:43 -05:00

6 lines
327 B
PowerShell

write-Output "Attempting to start Paper test server."
$SID = Start-Process java -ArgumentList "-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=25566", "-Xms512M", "-Xmx1G", "-jar", "paper-195.jar", "nogui" -PassThru
$SID = $SID.Id
write-Output "Process started. PID is: $SID"
$SID | Out-File -FilePath "pid.temp"