title: Debugging Console App and Web API App from Visual Studio 2010
body: <p><strong>Problem</strong></p>
  
  <p>I have a <code>Visual Studio 2010</code> solution that contains various <code>class library</code> projects, 1 <code>ASP.NET Web API</code> project and 2 <code>Console Application</code> projects.</p>
  
  <p>Now the console applications use the <code>WebClient</code> 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 <a href="https://addons.mozilla.org/en-GB/firefox/addon/rest-easy/" rel="nofollow">REST Easy</a> FF addon to build the request, the breakpoints are hit.</p>
  
  <p>Is there a option in Visual Studio 2010 to break across two different applications at once when debugging?</p>
  
  <p><strong>Technology I'm using</strong></p>
  
  <ol>
  <li>Visual Studio 2010 SP1</li>
  <li>Console applications are .NET 4.0 projects</li>
  <li>Web API project is the 1st release</li>
  </ol>