islandsurvivalcraft/test-server/start-debug-server-process.ps1

3 lines
227 B
PowerShell
Raw Normal View History

$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"