Reputation: 14399
I have a web app, and a set of unit tests. I need to debug both at the same time.
In VS2010 all was simple - I just started my unit test, and debug of the web app was attached automatically. In VS2012 this is no longer working. Web app is running, but is not being debugged. Any ideas, how I can debug both at the same time?
Upvotes: 0
Views: 120
Reputation: 3751
In Visual Studio 2012, I tried attaching all the processes while debugging the unit tests. That worked for me but I couldn't find something automatic.
Upvotes: 0
Reputation: 758
Set the web-app as the start-up project within your solution now start the unit test (assuming they are in class library project). This seems to work for me, If I dont have the web-app set as the start-up project I get an error when debuging/starting the Unit Tests(sayuing no executable project is refrenced).
Upvotes: 1