Skip to content

Debugging in Visual Studio Code

Sergio Vicente de las Heras edited this page Jun 22, 2019 · 3 revisions

Install delve

There are 2 ways to install delve

  • Run the command Go: Install/Update Tools, select dlv, press Ok to install/update delve
  • Or install it manually install delve as per the Installation Instructions

Set up configurations in launch.json

Once delve is installed, run the command Debug: Open launch.json. launch.json file already exists in the source code under .vscode directory. Remember to set your own environment variables values.

Start debugging:

vscode-debugging

Clone this wiki locally