Chore: update vscode "Run Server" config for single-binary (#59237)

update vscode "Run Server" config for single-binary
This commit is contained in:
Dan Cech 2022-11-23 11:32:42 -05:00 committed by GitHub
parent 7cec30f0e1
commit ed72b02b27
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

4
.vscode/launch.json vendored
View File

@ -6,10 +6,10 @@
"type": "go", "type": "go",
"request": "launch", "request": "launch",
"mode": "auto", "mode": "auto",
"program": "${workspaceFolder}/pkg/cmd/grafana-server/", "program": "${workspaceFolder}/pkg/cmd/grafana/",
"env": {}, "env": {},
"cwd": "${workspaceFolder}", "cwd": "${workspaceFolder}",
"args": ["--homepath", "${workspaceFolder}", "--packaging", "dev"] "args": ["server", "--homepath", "${workspaceFolder}", "--packaging", "dev"]
}, },
{ {
"name": "Attach to Chrome", "name": "Attach to Chrome",