1.Install your service. For more information, see How to: Install and Uninstall Services.2.Start your service, either from Services Control Manager, Server Explorer, or from code. For more information, see How to: Start Services.3.In Visual Studio, choose Processes from the Debug menu. The Processes dialog box appears. 4.Click Show system processes.5.In the Available Processes section, click the process for your service, and then click Attach.