Keyboard shortcut to attach to w3wp.exe in VS11

后端 未结 6 615
渐次进展
渐次进展 2021-01-30 07:19

Since VS11 removed macros, I can no longer fire this macro to attach to the webserver using a keyboard shortcut.

Is there another way to start the debugger and attach to

6条回答
  •  别那么骄傲
    2021-01-30 07:38

    In response to Cory's answer, you don't need to create your own shortcut. CTRL+ALT+P opens the attach to process dialog, then you can use his suggestion and type "w" to find the IIS process in the list.

    This is also useful if you are remote debugging and therefore don't have a local process to attach to automatically.

    If you are working with IIS on your local machine, then you can set it up as a local IIS web server or Custom Web Server in the "Web" tab of your project's properties.

提交回复
热议问题