2021-07-07 02:05:30 -05:00
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"name": "Run Server",
|
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
|
|
|
"mode": "auto",
|
2022-11-23 10:32:42 -06:00
|
|
|
"program": "${workspaceFolder}/pkg/cmd/grafana/",
|
2021-07-07 02:05:30 -05:00
|
|
|
"env": {},
|
2022-02-04 02:18:40 -06:00
|
|
|
"cwd": "${workspaceFolder}",
|
2022-11-23 10:32:42 -06:00
|
|
|
"args": ["server", "--homepath", "${workspaceFolder}", "--packaging", "dev"]
|
2021-10-04 07:26:19 -05:00
|
|
|
},
|
2023-12-05 16:31:49 -06:00
|
|
|
{
|
|
|
|
"name": "Run API Server (k8s)",
|
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
|
|
|
"mode": "auto",
|
|
|
|
"program": "${workspaceFolder}/pkg/cmd/grafana/",
|
|
|
|
"env": {},
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"args": ["apiserver", "example.grafana.app"]
|
|
|
|
},
|
2022-11-03 09:08:38 -05:00
|
|
|
{
|
|
|
|
"name": "Attach to Chrome",
|
|
|
|
"port": 9222,
|
|
|
|
"request": "attach",
|
|
|
|
"type": "chrome",
|
|
|
|
"webRoot": "${workspaceFolder}"
|
|
|
|
},
|
2021-10-04 07:26:19 -05:00
|
|
|
{
|
|
|
|
"name": "Debug Jest test",
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
2022-02-17 07:18:09 -06:00
|
|
|
"runtimeExecutable": "yarn",
|
|
|
|
"runtimeArgs": ["run", "jest", "--runInBand", "${file}"],
|
2021-10-04 07:26:19 -05:00
|
|
|
"console": "integratedTerminal",
|
|
|
|
"internalConsoleOptions": "neverOpen",
|
|
|
|
"port": 9229
|
2023-01-24 07:44:44 -06:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Debug Go test",
|
|
|
|
"type": "go",
|
|
|
|
"request": "launch",
|
|
|
|
"mode": "test",
|
|
|
|
"program": "${workspaceFolder}/${relativeFileDirname}",
|
|
|
|
"showLog": true
|
2021-07-07 02:05:30 -05:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|