title: Debugging a Windows Service
body: <p>I am making a Windows Service and I want to debug it.</p>
  
  <p>This is the error I get when I try to debug it:</p>
  
  <blockquote>
    <p>Cannot start service from the command line or a debugger. A Windows service must be first installed and then started with the Server Explorer, Windows Services Administrative TOll or the NET start command.</p>
  </blockquote>
  
  <p>I have already installed my service using <strong>InstallUtil</strong>, but I am still facing problems.</p>
  
  <p>Also, when I try to attach a process, my service goes into the running mode, it never starts debugging.</p>
  
  <p><strong>EDIT:</strong> DO we have to reinstall the Windows Service everytime we make a change or just building it would suffice?</p>