Debugging Preparation: Windows Services

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Debugging Preparation: Windows Services.

A Windows service is a program that runs in the background under Microsoft Windows. Examples include the Telnet service and the Windows time service, which updates your computer's visible clock. A Windows service cannot be run from within Visual Studio; it must run within the context of the Services Control Manager. For more information, see Creating Windows Services, Debugging Windows Service Applications, and Windows Service Applications.

Debugging Managed Code
C#, F#, and Visual Basic Project Types
Project Settings for C# Debug Configurations
Project Settings for a Visual Basic Debug Configuration
How to: Debug the OnStart Method

Show: