svaante / dape

Debug Adapter Protocol for Emacs
GNU General Public License v3.0
456 stars 25 forks source link

Passing arguments to the debugged program (dlv) #140

Closed sashkachan closed 1 month ago

sashkachan commented 1 month ago

In delve when starting the debug program, one can pass flags to the program with --. https://github.com/go-delve/delve/issues/178#issuecomment-124767562 It's adds convenience when debugging different commands or different flags.

Is there a quick way to do that with dape without overriding the command?

EDIT: these flags are not supported in dap mode, as per error

Warning: program flags ignored with dap; specify via launch/attach request instead