mirror of https://github.com/vuejs/core.git
chore: update VSCode debugging for vitest (#9573)
This commit is contained in:
parent
a653a8c125
commit
40dcc924c8
|
@ -5,24 +5,15 @@
|
||||||
"version": "0.2.0",
|
"version": "0.2.0",
|
||||||
"configurations": [
|
"configurations": [
|
||||||
{
|
{
|
||||||
"name": "Jest",
|
|
||||||
"type": "node",
|
"type": "node",
|
||||||
"request": "launch",
|
"request": "launch",
|
||||||
"program": "${workspaceFolder}/node_modules/.bin/jest",
|
"name": "Vitest - Debug Current Test File",
|
||||||
"stopOnEntry": false,
|
"autoAttachChildProcesses": true,
|
||||||
"args": ["${fileBasename}", "--runInBand", "--detectOpenHandles"],
|
"skipFiles": ["<node_internals>/**", "**/node_modules/**"],
|
||||||
"cwd": "${workspaceFolder}",
|
"program": "${workspaceRoot}/node_modules/vitest/vitest.mjs",
|
||||||
"preLaunchTask": null,
|
"args": ["run", "${relativeFile}"],
|
||||||
"runtimeExecutable": null,
|
"smartStep": true,
|
||||||
"runtimeArgs": ["--nolazy"],
|
"console": "integratedTerminal"
|
||||||
"env": {
|
|
||||||
"NODE_ENV": "development"
|
|
||||||
},
|
|
||||||
"console": "integratedTerminal",
|
|
||||||
"sourceMaps": true,
|
|
||||||
"windows": {
|
|
||||||
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue