4 Simple Steps for Debugging .NET Core Web Application Using VS Code

Step #1. Install the extension

Install C# Extension

Step #2. Configurations

It will create 2 files under .vscode folder

Step #3. Launch Your Application

Now your application should be started successfully, and the default ports are:

  • 5000 for HTTP
  • 5001 for HTTPS

Step #4. Change Ports & Default Page

2. To setup swagger as your default page, simply add uriFormat into the section serverReadyAction in launch.json

Enjoy!