Visual Studio - Attach to process shortcut

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

    Writing a macro is one option, however it cannot deduct which process to attach to by itself.

    Another nice solution is to map the "Attach to process" command to a shortcut key:

    (Tools -> Options -> Environment -> Keyboard, type attach, like i did in this example, and select a shortcut key):

    enter image description here

提交回复
热议问题