Build skills that open doors in your career
Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.
Search
This browser is no longer supported · Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support
Training
Develop practical skills through interactive modules and paths or register to learn from an instructor. Master core concepts at your speed and on your schedule.
How to install Linux on Windows with WSL
Install Windows Subsystem for Linux with the command, wsl --install. Use a Bash terminal on your Windows machine run by your preferred Linux distribution - Ubuntu, Debian, SUSE, Kali, Fedora, Pengwin, Alpine, and more are available.
🌐
Microsoft Learn
learn.microsoft.com › en-us › dotnet › core › tutorials › debugging-with-visual-studio-code
Debug a .NET console application - .NET | Microsoft Learn
February 4, 2026 - This tutorial introduces the debugging tools available in Visual Studio Code for working with .NET apps.
🌐
Microsoft Learn
learn.microsoft.com › en-us › dotnet › core › diagnostics › dotnet-debugger-extensions
dotnet-debugger-extensions diagnostic tool - .NET CLI - .NET | Microsoft Learn
December 4, 2024 - Learn how to install and use the dotnet-debugger-extensions CLI tool to manage the .NET debugging extensions, which is used with native debuggers on Windows and Linux.
🌐
Microsoft Learn
learn.microsoft.com › en-us › dotnet › core › diagnostics › dotnet-debug
dotnet-debug diagnostic tool - .NET CLI - .NET | Microsoft Learn
February 11, 2026 - The dotnet-debug global tool lets you attach to live .NET processes and analyze dump files interactively. Unlike dotnet-dump, which focuses on dump collection and offline analysis, dotnet-debug is designed for live process inspection.
🌐
Michael's Coding Spot
michaelscodingspot.com › dotnet-debugging-tools
10 Essential Debugging Tools for C# .NET Development | Michael's Coding Spot
February 25, 2020 - This tool looks and feels like Visual Studio. When you start debugging a .NET process without symbols or source code, dnSpy shows you the decompiled code. Now here’s the magic: You can place breakpoints in the decompiled code itself. When these breakpoints hit, you’ll see local variables, threads, call stack, and have a full debugging experience.
🌐
Microsoft Learn
learn.microsoft.com › en-us › dotnet › core › diagnostics › debugger-extensions
.NET debugger extensions - .NET | Microsoft Learn
The .NET debugger extensions let you view information about code that's running inside the .NET runtime, both on live processes and dumps. The extensions work with Windbg and LLDB.
🌐
Microsoft Learn
learn.microsoft.com › en-us › visualstudio › debugger › how-to-debug-dotnet-framework-source
Debug .NET Framework source - Visual Studio (Windows) | Microsoft Learn
October 31, 2025 - Debug .NET Framework source by enabling stepping into .NET Framework source code and allowing access to debugging symbols for the code.
🌐
Aaron Bos
aaronbos.dev › posts › debug-dotnet-vs-code
Debugging .NET in VS Code
Before debugging the app we can open up a terminal to the root of our project directory and run the following command. ... This will run our application. We can then debug the application with the "attach" configuration. A dialog box will be displayed and we should see the process in the dialog. VS Code's UI is helpful in showing the command that started each process. In our case, we'll be looking for one that includes dotnet run, which is the top option in the screenshot below.
Find elsewhere
🌐
DevGenius
blog.devgenius.io › debug-with-dotnet-run-cli-c70dcdc98237
Debug with dotnet run(CLI). During the development phase… | by Jiang Tingyu | Dev Genius
January 9, 2023 - After we start running it with the command dotnet run , https://localhost:7201 is now working. But the breakpoint would not work. ... For debugging, we need to attach the process by clicking Debug on the top menu and then choose Attach to Process...
🌐
Visual Studio Code
code.visualstudio.com › docs › csharp › debugging
Debugging
November 3, 2021 - With the C# Dev Kit extension installed and no debug configurations available to select in the Debug view, you can start debugging your project by having a .cs file opened and then pressing F5. The debugger will automatically find your project and start debugging.
🌐
Raygun
raygun.com › blog › dot-net-debugging
.NET Debugging: 6 techniques you need in your arsenal · Raygun Blog
July 31, 2019 - The LINQ namespaces aren’t always in scope, so it’s necessary to use the static methods syntax instead of the extension methods syntax. Or the debugger just displays an error because it can’t evaluate the expression for different reasons.
🌐
GitHub
github.com › Samsung › netcoredbg
GitHub - Samsung/netcoredbg: NetCoreDbg is a managed code debugger with GDB/MI, VSCode DAP and CLI interfaces for CoreCLR. · GitHub
NetCoreDbg is a managed code debugger with GDB/MI, VSCode DAP and CLI interfaces for CoreCLR. - Samsung/netcoredbg
Starred by 1.3K users
Forked by 147 users
Languages   C# 55.4% | C++ 41.9% | CMake 1.6% | Shell 0.8% | PowerShell 0.2% | C 0.1%
🌐
GitHub
github.com › dotnet › runtime › discussions › 70440
Command line based debugger for C# running on .NET 6 · dotnet/runtime · Discussion #70440
June 8, 2022 - Dbgshim packages can be downloaded from https://github.com/dotnet/diagnostics/releases/tag/v6.0.328102 or from nuget.org.
Author   dotnet
🌐
GitHub
github.com › dnSpy › dnSpy
GitHub - dnSpy/dnSpy: .NET debugger and assembly editor · GitHub
dnSpy is a debugger and .NET assembly editor. You can use it to edit and debug assemblies even if you don't have any source code available. Main features: ... git clone --recursive https://github.com/dnSpy/dnSpy.git cd dnSpy # or dotnet build ...
Starred by 29.5K users
Forked by 5.5K users
Languages   C#
🌐
GitHub
github.com › dotnet › vscode-csharp › blob › main › debugger.md
vscode-csharp/debugger.md at main · dotnet/vscode-csharp
Tasks.json is used to configure what command line command is executed to build your project, and launch.json configures the type of debugger you want to use, and what program should be run under that debugger.
Author   dotnet
🌐
Microsoft Learn
learn.microsoft.com › en-us › dotnet › iot › debugging
Debug .NET apps on ARM single-board computers - .NET | Microsoft Learn
March 9, 2026 - The debugger may be used to set breakpoints, inspect locals, and more. Visual Studio can debug .NET apps on remote devices via SSH. No specialized configuration is required on the device. For details on using Visual Studio to debug .NET remotely, see Remote debug .NET on Linux using SSH. Be sure to select the dotnet process if you're debugging a framework-dependent deployment.
🌐
JetBrains
jetbrains.com › dotnet › guide › topics › debugging
Debugging - JetBrains Guide
March 18, 2023 - Investigate errors and trace code execution with our visual debugger.
🌐
Reintech
reintech.io › blog › how-to-debug-and-troubleshoot-net-core-applications
How to Debug and Troubleshoot .NET Core Applications | Reintech media
January 19, 2026 - For production environments or containerized applications where IDE debugging isn't available, the .NET CLI provides powerful diagnostic tools. dotnet tool install -g dotnet-dump dotnet tool install -g dotnet-trace dotnet tool install -g dotnet-counters