About Me

My photo
Northglenn, Colorado, United States
I'm primarily a BI Developer on the Microsoft stack. I do sometimes touch upon other Microsoft stacks ( web development, application development, and sql server development).

Friday, January 04, 2013

Automatically Attach Process When Debugging in VS

Working with a MVP and MVC and hated that I always had to go to Debug>Attach Process... to step through the MVC side of things. Found on Stack Overflow the solution I needed: http://stackoverflow.com/questions/9030071/visual-studio-2010-automatic-attach-to-process

1) Set project up as multiple startup. Right-click on the solution and select "Set Startup Projects...". In the Action set the projects that is usually the default and the ones you usually need to attach.

2) In the project you usually need to attach, right click the project and go to the properties. Set it to have no startup project or in this case web page. (Web >> Don't Open a page. Wait for a request from an exteran application.

No comments: