System.Net tracing in PowerShell

2020-08-01 06:04发布

问题:

I am trying to get tracing set up for PowerShell(ISE) and I came across this link, but I am running debugView, and nothing seems to be happening. Anyone know what I am doing wrong?

Basically my goal is to get tracing for System.Net.WebRequest working in PowerShell. If there is another way to do it, I'd also be open to that.

回答1:

The answer - which is mine funnily enough - in that link refers to the regular console (powershell.exe) version of powershell. I have to ask some dumb questions:

You created a powershell_ise.exe.config file, not powershell.exe.config, right?

If you're viewing dbgview over remote desktop, you enabled "capture global win32," right?

You have capturing enabled on dbgview, right?

-Oisin