

In the code for each project, set a breakpoint that’s easy to identify.

Web API in Debug Panel Console Project in Debug Panel Setting Breakpoints In the Debug Panel of VS Code, observe that you can see both configurations, ready for launch. Web API Launch Configuration Console Project Launch Configuration Debug Panel NET Core console project and a Web API projet. This project contains launch.json configuration for a. In either case, you should end up with VS Code open with the Terminal open in the correction location (project root). If you already have VS Code open, use the built-in Terminal (Ctrl+`) to change the current directory to the project root. One easy way to do this is to type the word “code” followed by a dot “.” at a Command Prompt, Powershell window or Windows Terminal. Launch VS Code with the project root as the current working directory. To download the sample code, clone the following GitHub repository: Originally written up in a GitHub repo while helping out another developer, this blog post explains how you can debug multiple.
