Problem
I have a Visual Studio 2010
solution that contains various class library
projects, 1 ASP.NET Web API
project and 2 Console Application
projects.
Now the console applications use the WebClient
class to communicate with the Web API project I have within the Solution. When I run one of the console applications, the Web API is automatically run within the VS ASP.NET WebDev Server (within Localhost). This is fine. When I set breakpoints within the Web API solution (say one of the controllers), they are not hit during debugging. Only the console breakpoints are hit. Now if I run the Web API solution directly, and use something like REST Easy FF addon to build the request, the breakpoints are hit.
Is there a option in Visual Studio 2010 to break across two different applications at once when debugging?
Technology I'm using
- Visual Studio 2010 SP1
- Console applications are .NET 4.0 projects
- Web API project is the 1st release