Visual Studio插件,在调试时可以告诉w3wp.exe的应用程序池名称
Visual Studio 是否有任何插件可以在使用“附加到进程...”进行调试时显示这些 w3wp 进程的关联应用程序池名称?
通常在调试之前我必须执行以下步骤:
c:> \Windows\system32\inetsrv\appcmd list wps
然后我获取要调试的应用程序池的进程 ID,然后将其附加到“附加到进程”窗口中。
我觉得如果有一个插件可以自动执行此操作,那将是非常高兴的,但在 Google 后没有找到任何这样的东西。
Is there any plug-in for Visual Studio that can display the associated Application Pool name for those w3wp processes when debugging them with "Attach to Process..." ?
Usually I have to do following steps before debugging:
c:> \Windows\system32\inetsrv\appcmd list wps
then I get the process id for the Application Pool I want to debug, and then attach it in the Attach to Process window.
I feel it will be very pleasure if there's a plug in can do this automatically, but didn't find any such thing after Googled.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用宏 - 请参阅我对 相关问题。我几乎总是附加到几个特定的应用程序池之一,因此我制作了按钮来一键附加到这些特定的应用程序池。如果您确实想每次都从动态列表中进行选择,则只需构建该对话框,但您可以从我的宏代码中获取列表。
You can use a macro—see my answer to a related question. I am practically always attaching to one of a few specific Application Pools, so I’ve made buttons to attach to those specifically in one click. If you really want to choose from a dynamic list each time you’ll just have to build that dialog, but you can lift from my macro code to get the list.