Error on launch: Failed to launch: could not launch process: stub exited while waiting for connection: exit status 0 #95
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#95
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?
If I run this command in the terminal it connects to dlv
~/.local/share/KickstartNvim/mason/bin/dlv debug hello.goBut inside Neovim I get this error:
Error on launch: Failed to launch: could not launch process: stub exited while waiting for connection: exit status 0It seems like it cannot connect to dlv but I am unsure how to get more information or try to have it connect differently.
Config:
Cmd:
:lua require('dap-go').debug_test()Is your environment macOS with Apple Silicon? If yes, you might want to check this out: delve/Documentation/installation at master · go-delve/delve
I encountered the same issue as yours and solved it with the command
sudo /usr/sbin/DevToolsSecurity -enable.Yes I am on Apple Silicon. I had the developer tools enabled already.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.