How do you debug a Windows Service?
I read the MSDN article on the topic. To quote: Because a service must be run from within the context of the Services Control Manager rather than from within Visual Studio, debugging a service is not as straightforward as debugging other Visual Studio application types. To debug a service, you must start the service and then attach a debugger to the process in which it is running. You can then debug your application using all of the standard debugging functionality of Visual Studio. Now my problem is that my service fails to start in the first place. First it crashes, and says: An unhandled