First attempt to make vscode-go work

This commit is contained in:
Ben Jackson 2019-07-31 17:53:50 +01:00
commit adfce8d30e
4 changed files with 51 additions and 9 deletions

View file

@ -0,0 +1 @@
hello_world

View file

@ -0,0 +1,14 @@
{
"configurations": {
"run": {
"adapter": "vscode-go",
"configuration": {
"request": "launch",
"program": "${workspaceRoot}/hello-world.go",
"mode": "debug",
"dlvToolPath": "$HOME/go/bin/dlv",
"trace": true
}
}
}
}

View file

@ -0,0 +1,6 @@
package main
import "fmt"
func main() {
var v = "test"
fmt.Println("hello world: " + v)
}