title: Unable to debug WCF service message
body: <p>I've got a Visual Studio 2008 solution with a WCF service, and a client.</p>
  
  <p>When I run my client, and call a method from my service I get a message saying "Unable to automatically debug 'Home.Service'. The remote procedure could not be debugged. This usually indicates that debugging has not been enabled on the server."</p>
  
  <p>I've googled around, and have tried the following.</p>
  
  <pre><code>&lt;system.web&gt;
     &lt;compilation debug="true" /&gt;
  &lt;/system.web&gt;
  </code></pre>
  
  <p>has been added in app.config on both the client and the server.</p>
  
  <p>I have also made sure that the project is being compiled in Debug mode.</p>
  
  <p>What else could be causing this message?</p>
  
  <p>Edit: Added more info based on feedback questions</p>
  
  <ul>
  <li>It is using wsHttpBinding</li>
  <li><p>I have set</p>
  
  <pre><code>&lt;serviceDebug includeExceptionDetailInFaults="true"/&gt;
  </code></pre></li>
  <li><p>I am using</p>
  
  <pre><code>var service = new HomeReference.HomeServiceClient();
  service.ClientCredentials.Windows.ClientCredential = CredentialCache.DefaultNetworkCredentials;
  </code></pre></li>
  </ul>
  
  <p>Unfortunately the error shows up the first time I call a method on my Service. I can dismiss the messagebox, and the application continues working. Any Exceptions thrown on the server at not propagated back to the client though (I assume it should?)</p>