islandsurvivalcraft/test-server/start-debug-server-process.ps1
Harrison 690abbdbe0 Changed script to show running window.
Also added various checks for terminating process.
2020-04-22 03:39:19 -05:00

3 lines
227 B
PowerShell

$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
$SID | Out-File -FilePath "pid.temp"