I want to debug a Windows service but it pops an error message saying
Cannot start service from the command line or a debugger. A windows service
Another reason can be that the solution configuration is in Release mode in place of Debug mode