System.Net tracing in Powershell

喜你入骨 提交于 2019-12-09 23:22:21

问题


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



来源:https://stackoverflow.com/questions/4879535/system-net-tracing-in-powershell

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!