Last active
December 7, 2021 09:16
-
-
Save mckn/94025da6375f1fbf7dc1631e41b9a604 to your computer and use it in GitHub Desktop.
Grafana backend plugin VSCode launch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "Run standalone plugin", | |
"type": "go", | |
"request": "launch", | |
"mode": "auto", | |
"program": "${workspaceFolder}/pkg/", | |
"env": {}, | |
"args": [ | |
"--standalone=true", | |
], | |
}, | |
{ | |
"name": "Debug in Container", | |
"type": "go", | |
"request": "attach", | |
"mode": "remote", | |
"remotePath": "", // Example /var/lib/grafana/plugins/grafana-app/ | |
"port": 2345, | |
"host": "127.0.0.1", | |
"apiVersion": 1, | |
"trace": "verbose" | |
} | |
], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment