Debugging

Windows Gateway Service

Enabling Debug

By default, debug statements will not appear in the Gateway logs, even if you set your $DebugPreference to Continue on your PowerShell Post-Rotation Script.

In order to view debug statements in the logs, such as with Write-Debug, you must run the Gateway service with the -d start parameter and set your $DebugPreference accordingly.

Last updated