title: Visual Studio 2010 remote debugging is very slow (across domains, over VPN)
body: <p>Overall debugging works, but each step through code takes dozens of seconds.</p>
  
  <p>I've already closed all additional windows like stack trace, watches, autos; deleted all breakpoints.</p>
  
  <p>The server and development machine are located in different domains, so I set up a local user on both, with a matching password. The remote debugger is running as a service.</p>
  
  <p>Looking at the security log, I found quite a lot of entries about remote debugging account logging in (record about every minute).</p>
  
  <p>Any suggestions on how I can speed up remote debugging?</p>
  
  <ul>
  <li>Development computer: quad core, 8 GB memory, Windows&nbsp;7 x64, Visual Studio 2010 Ultimate.</li>
  <li>Target server: ASP.NET website, 2x dual core <a href="https://en.wikipedia.org/wiki/Xeon" rel="nofollow noreferrer">Xeon</a>, 2&nbsp;GB memory, remote debugger 2010.</li>
  <li>Communication channel: VPN, 5 Mbit/s, latency about 20&nbsp;ms. (it seems that debugging never uses more than 20&nbsp;kbyte/s)</li>
  </ul>