title: Visual Studio Remote Debugging a service
body: <p>I'm trying to remote debug a service using visual studio 2005.</p>
  
  <p>When I run msvsmon.exe as an application, I get the UI and I can change it to noauth and anyuser, then when i try to attach to the process from visual studio remotely, i get an erro saying that it can't attach to a process being run in a session that msvsmon.exe isn't running in. The session of the service is 0.</p>
  
  <p>So I can successfully run msvsmon.exe as a service, but I can't set it up to be in /noauth and /anyuser mode.</p>
  
  <p>The binPath for the service is: "c:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\Remote Debugger\x86\msvsmon.exe" /service msvsmon90</p>
  
  <p>both /noauth and /anyuser are the commandline switches for msvsmon.</p>
  
  <p>Filling out the 'start parameters' in the service properties window doesn't affect anything.</p>
  
  <p>changing the binPath of the service to:</p>
  
  <p>"c:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\Remote Debugger\x86\msvsmon.exe" /service msvsmon90 /noauth /anyuser</p>
  
  <p>also does not work (as the service fails to start properly).</p>
  
  <p>How do i get the remote debugging monitor to run as a service in noauth and anyuser mode?</p>