Public/Enable-Debug.ps1
function Enable-Debug { <# .SYNOPSIS Enables debug logging .FUNCTIONALITY CI/CD .DESCRIPTION Enables debug logging #> [CmdletBinding()] param( [switch]$Disable ) $Global:DebugPreference = If ($Disable.IsPresent) { 'SilentlyContinue' } Else { 'Continue' } } |