Dev: include vscode launcher / debugger (#36360)

This commit is contained in:
Ryan McKinley 2021-07-07 00:05:30 -07:00 committed by GitHub
parent b361fc751c
commit 92dc6aed3f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 14 additions and 1 deletions

1
.gitignore vendored
View File

@ -49,7 +49,6 @@ public/css/*.min.css
*.iml
*.tmp
.DS_Store
.vscode/
.vs/
.eslintcache

14
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,14 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Run Server",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "${workspaceFolder}/pkg/cmd/grafana-server/",
"env": {},
"args": ["--homepath", "${workspaceFolder}", "--packaging", "dev"]
}
]
}