mirror of
https://github.com/Arvanaghi/CheckPlease
synced 2026-06-08 10:25:16 +00:00
12 lines
314 B
PowerShell
12 lines
314 B
PowerShell
#
|
|
# Checks if process is currently being debugged, PowerShell
|
|
# Module written by Brandon Arvanaghi
|
|
# Website: arvanaghi.com
|
|
# Twitter: @arvanaghi
|
|
#
|
|
|
|
if (Test-Path Variable:PSDebugContext) {
|
|
Write-Output "A debugger is present, do not proceed."
|
|
} else {
|
|
Write-Output "No debugger is present. Proceed!"
|
|
} |