如何将 Powershell.exe 附加到调试器?
How can I attach Powershell.exe to Debugger?
我想用 Debugger 程序调试 powershell.exe。
但我无法将 powershell.exe 附加到调试程序。
我猜测 powershell.exe 检测调试器的访问并拒绝它。
如何将它附加到调试器?
帮帮我
谢谢
使用 Windows Powershell ISE 编辑器,它有一个内置的调试器。您还可以设置断点,它知道所有 Powershell 命令。
另一种选择是使用 Set-PSDebug
或 Set-PSBreakpoint
cmdlet
我想用 Debugger 程序调试 powershell.exe。
但我无法将 powershell.exe 附加到调试程序。
我猜测 powershell.exe 检测调试器的访问并拒绝它。
如何将它附加到调试器?
帮帮我
谢谢
使用 Windows Powershell ISE 编辑器,它有一个内置的调试器。您还可以设置断点,它知道所有 Powershell 命令。
另一种选择是使用 Set-PSDebug
或 Set-PSBreakpoint
cmdlet