mirror of
https://github.com/grafana/grafana.git
synced 2024-12-26 00:41:20 -06:00
Dev: Add debug jest test to vscode launch (#39905)
This commit is contained in:
parent
e2e70d036e
commit
47a9613b3e
9
.vscode/launch.json
vendored
9
.vscode/launch.json
vendored
@ -9,6 +9,15 @@
|
||||
"program": "${workspaceFolder}/pkg/cmd/grafana-server/",
|
||||
"env": {},
|
||||
"args": ["--homepath", "${workspaceFolder}", "--packaging", "dev"]
|
||||
},
|
||||
{
|
||||
"name": "Debug Jest test",
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"runtimeArgs": ["--inspect-brk", "${workspaceRoot}/node_modules/.bin/jest", "--runInBand", "${file}"],
|
||||
"console": "integratedTerminal",
|
||||
"internalConsoleOptions": "neverOpen",
|
||||
"port": 9229
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user