Add a debug adapter on start
Can we add a debug adapter for DAP that gets added on initialization? Currently I run GoDebug and then require("neotest").run.run({ strategy = "dap" }) to have a debug adapter for Go available. Otherwise if I run neotest at first the debug adapter is not available for go.
You can call require('go.dap').run() to startup a dap from go.nvim
Alternatively, there is a standalone go dap plugin you can use with neotest.
You can call
require('go.dap').run()to startup a dap from go.nvim Alternatively, there is a standalone go dap plugin you can use with neotest.
That's fair but I'd like the adapter here https://github.com/ray-x/go.nvim/blob/8389adb56ab124b75d858df5f87b741eaca7b8b3/lua/go/dap.lua#L386-L398 to be available from the initialization of the plugin. So I don't have to use .run() to have a dap adapter available for dap. Does that make sense?