Visual Studio - Attach to process shortcut

后端 未结 12 803
情歌与酒
情歌与酒 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:13

    I use this built in "Shortcut"

    ALT+D, P, W, ENTER

    this opens the debug menu, selects attach to process, scrolls down to w3wp.exe and attaches.

    It's long but should work in multiple visual studio versions with no setup required, with or without resharper and it works when running multiple IIS processes as you can choose which process to attach to.

提交回复
热议问题