You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixed support for the q debugger command to quit debugging when on an Enter-Debugger command breakpoint; added Debug-Module cmdlet; added Get-/Set-CommandDebugMode functions; simplified use of script variables for easier interaction with the binary module; updated documentation
Copy file name to clipboardexpand all lines: DebugPx.psd1
+25-20
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ debugging capabilities in PowerShell (the callstack, breakpoints, error output
5
5
and the -Debug common parameter) and provide additional functionality that
6
6
these features do not provide, enabling a richer debugging experience.
7
7
8
-
Copyright 2015 Kirk Munro
8
+
Copyright 2016 Kirk Munro
9
9
10
10
Licensed under the Apache License, Version 2.0 (the "License");
11
11
you may not use this file except in compliance with the License.
@@ -23,65 +23,70 @@ limitations under the License.
23
23
@{
24
24
ModuleToProcess='DebugPx.psm1'
25
25
26
-
ModuleVersion='1.0.1.9'
26
+
ModuleVersion='1.0.3.14'
27
27
28
28
GUID='161b91e7-ca3d-40e2-8d0e-e00b31740f90'
29
29
30
30
Author='Kirk Munro'
31
31
32
32
CompanyName='Poshoholic Studios'
33
33
34
-
Copyright='Copyright 2015 Kirk Munro'
34
+
Copyright='Copyright 2016 Kirk Munro'
35
35
36
36
Description='The DebugPx module provides a set of commands that make it easier to debug PowerShell scripts, functions and modules. These commands leverage the native debugging capabilities in PowerShell (the callstack, breakpoints, error output and the -Debug common parameter) and provide additional functionality that these features do not provide, enabling a richer debugging experience.'
#region If the breakpoint command breakpoint was removed, re-create it and warn the user about the requirement.
76
+
77
+
$enabled=$eventArgs.Breakpoint.Enabled
78
+
Write-Warning-Message "The breakpoint command breakpoint is required by the DebugPx module and cannot be manually removed. You can disable this breakpoint by invoking ""Disable-EnterDebuggerCommand"", or you can remove it by invoking ""Remove-Module -Name DebugPx"". This breakpoint is currently $(if ($enabled) {'enabled'} else {'disabled'})."
#region If the breakpoint command breakpoint was removed, re-create it and warn the user about the requirement.
77
-
78
-
$enabled=$eventArgs.Breakpoint.Enabled
79
-
Write-Warning"The breakpoint command breakpoint is required by the DebugPx module and cannot be manually removed. You can disable this breakpoint by invoking ""Disable-BreakpointCommand"", or you can remove it by invoking ""Remove-Module -Name DebugPx"". This breakpoint is currently $(if ($enabled) {'enabled'} else {'disabled'})."
0 commit comments