Visual Studio - Attach to process shortcut

后端 未结 12 747
情歌与酒
情歌与酒 2020-11-27 16:42

When I want to debug I have to do Debug->Attach to Process -> Look for a process in the list -> Attach.

I was wondering if I can create some kind of a shortcut to

12条回答
  •  执念已碎
    2020-11-27 17:28

    This answer should work for Visual Studio 2010.

    I like having buttons to do this on my debug toolbar

    https://gist.github.com/1406827

    The gist contains a method for attaching to IIS (w3wp.exe) or ASP (aspnet_wp.exe) and also nunit (nunit-agent.exe). Instructions are included on how to add the macros to your debug toolbar.

提交回复
热议问题