Powershell – Debug/trace

powershell.ps1

Dodaj u skriptu ili CLI jedno od dva:

Set-PSDebug -Trace 1
Set-PSDebug -Trace 2

Poništi s Set-PSDebug -Off

https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/set-psdebug?view=powershell-7.3


pwsh posh powershell debug trace script troubleshooting trblsht ubijanje problema xpwsh xposh xpowershell xdebug xtrace xscript xtroubleshooting xtrblsht xubijanje xproblema

image_pdfimage_print