add "Launch via Vite Node"
This commit is contained in:
parent
214df58a14
commit
362ac98f6a
|
@ -1,6 +1,24 @@
|
|||
{
|
||||
"version": "0.2.0",
|
||||
"configurations": [
|
||||
{
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
"name": "Launch via Vite Node",
|
||||
"runtimeExecutable": "node",
|
||||
"skipFiles": ["<node_internals>/**"],
|
||||
// todo?: make relative to ${file}
|
||||
"cwd": "${workspaceFolder}/packages/status-js",
|
||||
"program": "${workspaceRoot}/node_modules/vite-node/dist/cli.mjs",
|
||||
"args": ["${file}"],
|
||||
"smartStep": true,
|
||||
"sourceMaps": true,
|
||||
"env": {
|
||||
"DEBUG": "*",
|
||||
"NODE_ENV": "test",
|
||||
"VITEST": "true"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "node",
|
||||
"request": "launch",
|
||||
|
|
Loading…
Reference in New Issue