Skip to content

Commit 92461fe

Browse files
authored
Add debugger vscode configuration (#937)
1 parent 9385a4c commit 92461fe

File tree

3 files changed

+22
-2
lines changed

3 files changed

+22
-2
lines changed

.changeset/grumpy-wolves-buy.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'grafana-infinity-datasource': patch
3+
---
4+
5+
Add vscode debugger configuration

.gitignore

-2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,4 @@ yarn-error.log*
3131
docker/blocks/tempo/tempo-data
3232
# IDE
3333
.idea
34-
.vscode/
35-
!.vscode/launch.json
3634
.eslintcache

.vscode/launch.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": "Run standalone plugin",
9+
"type": "go",
10+
"request": "launch",
11+
"mode": "auto",
12+
"program": "${workspaceFolder}/pkg/",
13+
"env": {},
14+
"args": ["--standalone=true"]
15+
}
16+
]
17+
}

0 commit comments

Comments
 (0)