在PowerShell中进行System.Net跟踪 [英] System.Net tracing in PowerShell

查看:93
本文介绍了在PowerShell中进行System.Net跟踪的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图为PowerShell(ISE)设置跟踪,并且遇到此链接,但是我正在运行debugView,似乎没有任何反应。有人知道我在做什么错吗?

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?

基本上,我的目标是要跟踪 System.Net.WebRequest 的工作情况在PowerShell中。

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.

推荐答案

答案-这很有趣足够-在该链接中指的是Powershell的常规控制台(powershell.exe)版本。我不得不问一些愚蠢的问题:

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:

您创建了powershell_ise.exe.config文件,而不是powershell.exe.config文件,对吗?

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

如果要通过远程桌面查看dbgview,是否启用了捕获全局win32,对吗?

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

您已在dbgview上启用了捕获?

You have capturing enabled on dbgview, right?

-Oisin

这篇关于在PowerShell中进行System.Net跟踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆