Skip to content

Instantly share code, notes, and snippets.

@ayuxsec
Created January 17, 2026 20:25
Show Gist options
  • Select an option

  • Save ayuxsec/e712140fdf6d2063051c35b479f30bbd to your computer and use it in GitHub Desktop.

Select an option

Save ayuxsec/e712140fdf6d2063051c35b479f30bbd to your computer and use it in GitHub Desktop.

https://zed.dev/docs/languages/go

[
  {
    "label": "Go (Delve)",
    "adapter": "Delve",
    "program": "$ZED_FILE",
    "request": "launch",
    "mode": "debug",
  },
  {
    "label": "Run server",
    "adapter": "Delve",
    "request": "launch",
    "mode": "debug",
    // For Delve, the program can be a package name
    "program": "./cmd/server",
    // "args": [],
    // "buildFlags": [],
  },
]

then F5

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment