File size: 416 Bytes
8e90aec df84f06 e5f8547 df84f06 229ceef 8e90aec 074e202 | 1 2 3 4 5 6 7 8 9 10 11 | # start-debug.ps1 - Build and launch WA.exe with debug UI and debug server
$ErrorActionPreference = "Stop"
Write-Host "Building..." -ForegroundColor Cyan
cargo build --release -p openwa-launcher -p openwa-dll -p openwa-debug-cli --features openwa-dll/debug-ui
if ($LASTEXITCODE -ne 0) { exit 1 }
$env:OPENWA_DEBUG_UI = "1"
$env:OPENWA_DEBUG_SERVER = "1"
& "target\i686-pc-windows-msvc\release\openwa-launcher.exe"
|