bubbletea icon indicating copy to clipboard operation
bubbletea copied to clipboard

docs: update delve information

Open aschey opened this issue 1 year ago • 2 comments

I ran into a bit of difficulty trying to connect the VS Code debugger to the process spawned by dlv debug. I eventually figured out that delve defaults to its legacy protocol (version 1) by default which was causing compatibility issues with VS Code's Go integration. Delve's docs recommend using version 2 for all new development, so I think it makes sense to add that to the docs so people trying to integrate with IDEs hopefully don't run into the same compatibility issues. Also added a note about supplying the port so these commands can integrate with IDEs and shell scripts without having to figure out the port each time.

aschey avatar Nov 13 '22 17:11 aschey