Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I pass flags to debug? #102

Open
D00mch opened this issue Nov 11, 2024 · 0 comments
Open

How do I pass flags to debug? #102

D00mch opened this issue Nov 11, 2024 · 0 comments

Comments

@D00mch
Copy link

D00mch commented Nov 11, 2024

I tried everything, but nothing is passed:
image

I put all at once just to show what I tried.
Here is what I see (days is 0):
image

Environment

OSX

Sonoma 14.4 (23E214)

Neovim config:

require('dap-go').setup {
  dap_configurations = {
    {
      type = "go",
      name = "Debug (Build Flags)",
      request = "launch",
      program = "${file}",
      buildFlags = require("dap-go").get_build_flags,
    },
  },
})

Neovim Version

▶ nvim -version
NVIM v0.10.0
Build type: Release
LuaJIT 2.1.1720049189
Run "nvim -V1 -v" for more info

P.S.
The same works in goland:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant