Configure VSCode to debug Go (Golang) code
Trying to make sure you can debug your code through Visual Studio Code (VSCode) is sometimes a bit tricky. Here is my json structure for the dvl running configuration of the launch.json file { // Use IntelliSense to learn about possible attributes. // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 "version": "0.2.0", "configurations": [ { "name": "Launch Package", "type": "go", "request": "launch", "mode": "auto", "program": "${workspaceFolder}/main.go", "args": [ "--ini", "sample.ini", "--d", ] } ] } go, golang, debug, debugger, json, launch.json, configuratio...