Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

envFile does not load .env file into Delve #934

Closed
goenning opened this issue Apr 19, 2017 · 1 comment
Closed

envFile does not load .env file into Delve #934

goenning opened this issue Apr 19, 2017 · 1 comment
Labels

Comments

@goenning
Copy link
Contributor

VSCode Version: 1.11.2
OS Version: macOS 10.12.3
Extension: Go 0.6.59

I have the following launch.json and content from .test.env is not loaded into Delve.

{
	"name": "Test",
	"type": "go",
	"request": "launch",
	"mode": "test",
	"remotePath": "${workspaceRoot}",
	"port": 2345,
	"host": "127.0.0.1",
	"program": "${workspaceRoot}/",
	"envFile": "${workspaceRoot}/.test.env",
	"env": { },
	"args": [ ]
}
goenning added a commit to goenning/vscode-go that referenced this issue Apr 19, 2017
ramya-rao-a pushed a commit that referenced this issue Apr 20, 2017
* fix for #934

* fix travis build, forgot to tsc

* ignore DS_Store and some clean up on env consolidation

* precedence: launch env -> file env -> process env
@ramya-rao-a
Copy link
Contributor

ramya-rao-a commented May 4, 2017

Fix is out in the latest update (0.6.60)
Thanks @goenning !

@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 24, 2018
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants