Enable debug mode in PowerShell via %DEBUG%
This commit is contained in:
parent
7a1616c8a7
commit
0c5912d345
1 changed files with 3 additions and 0 deletions
|
|
@ -3,6 +3,9 @@
|
|||
## Init ##
|
||||
#Requires -Version 3.0
|
||||
clear
|
||||
if (Test-Path Env:\DEBUG) {
|
||||
Set-PSDebug -Trace 1
|
||||
}
|
||||
$host.UI.RawUI.WindowTitle = "Wizard Kit: Build Tool"
|
||||
$wd = $(Split-Path $MyInvocation.MyCommand.Path)
|
||||
$bin = (Get-Item $wd).Parent.FullName
|
||||
|
|
|
|||
Loading…
Reference in a new issue