Debugging .NET Core Projects

To run and debug .NET Core projects, you need to have the .NET Core runtime installed. You can typically check if .NET Core is installed by running the dotnet command in Terminal/Command Prompt.

The IDEs will automatically find the installed .NET Core runtime in its default location. The following topics will help you set up .NET Core, if needed.

Launching

The IDEs will automatically take care of launching your project via the dotnet runtime environment.

Debugging

Once your your application is launched, you can debug your code the same as you would any other project. For example, you can set Breakpoints to pause execution when a certain part of your code is hit, and you will automatically "break" into the debugger, if any Exception occurs.

See Also