Delve

Version: 1.26.0 darwin linux go debugging

The goal of the project is to provide a simple, full featured debugging tool for Go. Delve should be easy to invoke and easy to use. Chances are if you’re using a debugger, things aren’t going your way. With that in mind, Delve should stay out of your way as much as possible.

Installation Instructions

Linux

Create Delve folder
{
  "path": "{{ .PTools }}/delve/{{ .SVar `.tool.delve.download.version` }}"
}
Set sub environment variables
{
  "var_values": {
    ".tool-use-go.tool.delve.download.version": "{{ .SVar `.tool.delve.download.version` }}"
  }
}
Run Delve Install
{
  "command_parameters": [
    "install",
    "github.com/go-delve/delve/cmd/dlv@v{{ .SVar `.tool.delve.download.version` }}"
  ],
  "environment": [
    "GOBIN={{ .PTools }}/delve/{{ .SVar `.tool.delve.download.version` }}"
  ],
  "executable": "go",
  "tool_ref": "go"
}

MacOS

Create Delve folder
{
  "path": "{{ .PTools }}/delve/{{ .SVar `.tool.delve.download.version` }}"
}
Set sub environment variables
{
  "var_values": {
    ".tool-use-go.tool.delve.download.version": "{{ .SVar `.tool.delve.download.version` }}"
  }
}
Run Delve Install
{
  "command_parameters": [
    "install",
    "github.com/go-delve/delve/cmd/dlv@v{{ .SVar `.tool.delve.download.version` }}"
  ],
  "environment": [
    "GOBIN={{ .PTools }}/delve/{{ .SVar `.tool.delve.download.version` }}"
  ],
  "executable": "go",
  "tool_ref": "go"
}

Binaries