You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
VSCode Insiders 1.18.0
macOS 10.13.0 High Sierra
Delve Version: 1.0.0-rc.1
Golang 1.9.1
Hello, I no longer seem to be able to debug my Golang code using Delve. It used to work but after a few new versions of VSCode, something's gone wrong. My launch.json is as follows:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"name": "Launch",
"type": "go",
"request": "launch",
"mode": "debug",
"remotePath": "",
"port": 2345,
"host": "127.0.0.1",
"program": "${workspaceRoot}",
"env": {
"GOPATH": "/Users/carlca/Code/go"
},
"args": [],
"showLog": true
}
]
}
I added the GOPATH info into the "env" setting and that seemed to sort out the path issue. I notice though that my Debug Console windows is showing:
2017/10/13 13:50:16 server.go:73: Using API v1
2017/10/13 13:50:16 debugger.go:97: launching process with args: [/Users/carlca/code/go/src/gitlab.com/hackebrot/tweets/debug]
could not launch process: exec: "lldb-server": executable file not found in $PATH
Process exiting with code: 1
I don't see why it's complaining about lldb-server when I would have thought that DLV should be the debugging executable.
Thanks in advance for any help!
The text was updated successfully, but these errors were encountered:
VSCode Insiders 1.18.0
macOS 10.13.0 High Sierra
Delve Version: 1.0.0-rc.1
Golang 1.9.1
Hello, I no longer seem to be able to debug my Golang code using Delve. It used to work but after a few new versions of VSCode, something's gone wrong. My
launch.json
is as follows:I added the GOPATH info into the "env" setting and that seemed to sort out the path issue. I notice though that my
Debug Console
windows is showing:I don't see why it's complaining about
lldb-server
when I would have thought that DLV should be the debugging executable.Thanks in advance for any help!
The text was updated successfully, but these errors were encountered: