title: Can't attach to Windows service that is sleeping
body: <p>I'm trying to debug native service written in C++. 
  In the method<br>
  <code>extern "C" int WINAPI _tWinMain(HINSTANCE hInstance,HINSTANCE /*hPrevInstance*/, LPTSTR lpCmdLine, int /*nShowCmd*/)</code>  method, I have added <code>::Sleep(120000);</code> (i.e sleep for 2 minutes.) and placed breakpoint on the line that follows the sleep, so it would stop on a break point.</p>
  
  <p>From VS, I attach to the process. VS kicks in, does something and then disconnects the debugger. 
  I have also tried other suggestions: <code>DebugBreak();</code> and <code>_ams</code>, but they don't work either. </p>