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 ##
|
## Init ##
|
||||||
#Requires -Version 3.0
|
#Requires -Version 3.0
|
||||||
clear
|
clear
|
||||||
|
if (Test-Path Env:\DEBUG) {
|
||||||
|
Set-PSDebug -Trace 1
|
||||||
|
}
|
||||||
$host.UI.RawUI.WindowTitle = "Wizard Kit: Build Tool"
|
$host.UI.RawUI.WindowTitle = "Wizard Kit: Build Tool"
|
||||||
$wd = $(Split-Path $MyInvocation.MyCommand.Path)
|
$wd = $(Split-Path $MyInvocation.MyCommand.Path)
|
||||||
$bin = (Get-Item $wd).Parent.FullName
|
$bin = (Get-Item $wd).Parent.FullName
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue