powershell-es/test/PowerShellEditorServices.Test.Shared/Debugging/PSDebugContextTest.ps1
fwastring baa0056244
Some checks are pending
CI Tests / dotnet (push) Waiting to run
CI Tests / dotnet-1 (push) Waiting to run
CI Tests / dotnet-2 (push) Waiting to run
Emacs End-to-End Tests / ert (push) Waiting to run
Vim End-to-End Tests / themis (push) Waiting to run
initial
2026-02-17 13:06:31 +01:00

11 lines
218 B
PowerShell

$promptSawDebug = $false
function prompt {
if (Test-Path variable:/PSDebugContext -ErrorAction SilentlyContinue) {
$promptSawDebug = $true
}
return "$promptSawDebug > "
}
Write-Host "Debug over"