title: Attempting to debug WCF Service added to a solution created with a MVVM Light Toolkit template fails
body: <p>The goal here is to be able to step into the WCF service code, as well as the Silverlight app code.</p>
  
  <ol>
  <li>File new project > MvvmLight(SL4)</li>
  <li>Add new project > WCF Service app</li>
  <li><p>Add service ref to new service in SL proj</p></li>
  <li><p>In Model\DataService.cs replace GetData with the code below</p>
  
  <pre><code>public void GetData(Action&lt;DataItem, Exception&gt; callback)
  {
      // Use this to connect to the actual data service
  
      //var item = new DataItem("Welcome to MVVM Light");
  
      var client = new ServiceReference1.Service1Client();
      client.GetDataCompleted += (s, e) =&gt;
      {
          var userCallback = e.UserState as Action;
  
          var item = new DataItem(e.Result);
  
          userCallback(item, null);
      };
      client.GetDataAsync(123, callback);
  }
  </code></pre></li>
  <li><p>Place a breakpoint in the GetData method of Service1.svc.cs</p></li>
  <li><p>F5 to start debugging.</p></li>
  </ol>
  
  <p>You’ll get a dialog saying you can’t debug.</p>
  
  <p>“The Silverlight project you are about to debug uses web services.  Calls to the web service will fail unless the Silverlight project is hosted in and launched from the same web project that contains the web services.”</p>
  
  <p>What do I need to change to allow me to debug the WCF service?</p>