connecting to remote headless DAP no longer working #27
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
NeonXP/nvim-dap-go#27
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The changes in
leoluz/nvim-dap-go@bd9823da22break the remote debugging for me. I added the remote adapter to the new dap_configurations, and after starting the debugger:dlv debug -l 127.0.0.1:38697 --api-version 2 --headless ./cmd/main.goI get "Error on attach: Failed to attach: no debugger found". Reverting back to commit
0cc173c8, it's all fine again.I suspect it might be related with the port. It is automatically assigned to a free port now. Make sure to inspect the process to get the correct port it is listening to.
I added a new configuration to allow users to manually set the port.
Please update nvim-dap-go and add this to your configuration:
@marcomayer please confirm if setting the port fixes your issue.
@leoluz thanks a lot, that solves it! 🎄 🎅