Closed
Description
What version of Go, VS Code & VS Code Go extension are you using?
- Run
go version
to get version of Go- go version go1.14.6 linux/amd64
- Run
code -v
orcode-insiders -v
to get version of VS Code or VS Code Insiders- 1.47.2
- 17299e413d5590b14ab0340ea477cdd86ff13daf
- x64
- 1.47.2
- Check your installed extensions to get the version of the VS Code Go extension
- 0.15.2
- Run
go env
to get the go development environment details
GO111MODULE="auto"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/vscode/.cache/go-build"
GOENV="/home/vscode/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/workspaces/vscode-remote-try-go/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build951096275=/tmp/go-build -gno-record-gcc-switches"
Share the Go related settings you have added/edited
{
"go.useLanguageServer": true,
"go.inferGopath": false
}
Describe the bug
Specifying an envFile in a launch config doesn't seem to work.
Steps to reproduce the behavior:
- Open https://github.com/stnguyen90/vscode-remote-try-go/tree/launch-with-env-file in a dev container
- Run "Launch without any overrides"
- See
Testing: devcontainer
- Run "Launch with envFile override"
- See
Testing: devcontainer
Expected output is Testing: env file
Overriding using env
rather than envFile
seems to work.
Screenshots or recordings
If applicable, add screenshots or recordings to help explain your problem.