33 lines
869 B
JSON
33 lines
869 B
JSON
{
|
|
"configurations": [
|
|
{
|
|
"name": "PowerShell Launch Current File",
|
|
"type": "PowerShell",
|
|
"request": "launch",
|
|
"script": "${file}",
|
|
"cwd": "${cwd}"
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Debug Jest Test",
|
|
"program": "${workspaceRoot}/node_modules/jest/bin/jest.js",
|
|
"args": [
|
|
"--collectCoverage=false",
|
|
"--colors",
|
|
"--config",
|
|
"${workspaceRoot}/jest.config.js",
|
|
"--runInBand",
|
|
"--runTestsByPath",
|
|
"${relativeFile}",
|
|
"--testPathPattern=${fileDirname}",
|
|
"--testTimeout=10000000"
|
|
],
|
|
"outputCapture": "std",
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
"envFile": "${workspaceRoot}/.env",
|
|
"skipFiles": ["${workspaceRoot}/../../node_modules/**/*", "<node_internals>/**/*"]
|
|
}
|
|
]
|
|
}
|