title: Need to debug my Web API service that's requested from a client machine - need help, how do I do this?
body: <p>I built a Web API service that's hosted locally on my machine in IIS.  I have an iOS app that I'm running via XCode that makes the call to the web service.  The connectivity is there, and works.  The iOS app successfully makes the connection to my published web service.</p>
  
  <p>The problem is my web service is returning a non descriptive error to the client (iOS), so what I need to be able to do is step through the web service code while running my iOS app.</p>
  
  <p>So, in summary:</p>
  
  <ol>
  <li>I run an iOS app via my MacBook, and it connects to my .NET Web API service.</li>
  <li>My Web API service is published to my local IIS, and is returning an error back to the client.</li>
  <li>Breakpoints aren't being hit in Visual Studio - do I need to attach my Visual Studio debugger to a specific process?  I've tried running my web service in debug mode while running my iOS app, to no avail.</li>
  </ol>
  
  <p>How can I step through my web service code when running the client app (iOS) that accesses the web service?</p>