开发者

Visual Studio Plug-in that can tell the Application Pool name of w3wp.exe when debugging

开发者 https://www.devze.com 2022-12-28 02:33 出处:网络
Is开发者_StackOverflow社区 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...\" ?

Is开发者_StackOverflow社区 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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号