.NET Core managed debuggers

Debuggers allow programs to be paused or executed step-by-step. When paused, the current state of the process can be viewed. By stepping through key sections, you gain understanding of your code and why it produces the result that it does.

Microsoft provides debuggers for managed code in Visual Studio and Visual Studio Code.

Visual Studio managed debugger

Visual Studio is an integrated development environment with the most comprehensive debugger available. Visual Studio is an excellent choice for developers working on Windows.

While Visual Studio is a Windows application, it can still be used to debug Linux and macOS apps remotely.

Debugging ASP.NET Core apps require slightly different instructions.

Visual Studio Code managed debugger

Visual Studio Code is a lightweight cross-platform code editor. It uses the same .NET Core debugger implementation as Visual Studio, but with a simplified user interface.