The compiled executable file that a service application project creates must be installed on the server before the project can function in a meaningful way. You cannot debug or run a service application by pressing F5 or F11; you cannot immediately run a service or step into its code. Instead, you must install and start your service, and then attach a debugger to the service's process.
Here we are going to see how to debug our own windows services.
Steps for debugging windows services:
Until next time.....Happy .NETing!