Debugging a Service

Debugging a service presents certain unique problems. For example, the Visual C++ debugger is normally connected to a service that is running. However, you may need to collect debugging information early in the development cycle before the service can be run. One solution is to run the service as a console application.