Skip to content

Commit

Permalink
chore: update launch.json for vitest debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
Kai Volland committed Jun 16, 2023
1 parent 2b7c7c4 commit db7e05b
Showing 1 changed file with 6 additions and 24 deletions.
30 changes: 6 additions & 24 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,33 +2,15 @@
"version": "0.2.0",
"configurations": [
{
"name": "Debug Jest Tests",
"type": "node",
"request": "launch",
"port": 9230,
"runtimeArgs": [
"--inspect-brk=9230",
"${workspaceRoot}/node_modules/.bin/jest",
"--runInBand",
"--watch"
],
"runtimeExecutable": null,
"name": "Debug Current Test File",
"autoAttachChildProcesses": true,
"skipFiles": ["<node_internals>/**", "**/node_modules/**"],
"program": "${workspaceRoot}/node_modules/vitest/vitest.mjs",
"args": ["run", "${relativeFile}"],
"smartStep": true,
"console": "integratedTerminal"
},
{
"type": "node",
"request": "launch",
"name": "Debug Jest Tests Windows",
"program": "${workspaceRoot}/node_modules/jest/bin/jest",
"args": [
"-i",
"--watch"
],
"internalConsoleOptions": "openOnSessionStart",
"console": "integratedTerminal",
"outFiles": [
"${workspaceRoot}/build/dist/**/*"
]
}
]
}

0 comments on commit db7e05b

Please sign in to comment.