2019-05-12 13:16:54 +00:00
|
|
|
{
|
|
|
|
"version": "0.2.0",
|
|
|
|
"configurations": [
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "debug",
|
|
|
|
"program": "${workspaceFolder}/lib/renovate.ts",
|
2021-08-24 10:54:21 +00:00
|
|
|
"env": {
|
|
|
|
"LOG_LEVEL": "debug"
|
|
|
|
},
|
2019-05-12 13:16:54 +00:00
|
|
|
"console": "integratedTerminal",
|
2021-03-02 16:16:05 +00:00
|
|
|
"runtimeArgs": ["-r", "ts-node/register/transpile-only"],
|
2019-05-12 13:16:54 +00:00
|
|
|
"protocol": "inspector",
|
|
|
|
"skipFiles": ["<node_internals>/**/*.js"]
|
2019-05-16 16:54:54 +00:00
|
|
|
},
|
2022-08-17 09:54:01 +00:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "debug (clean cache)",
|
|
|
|
"program": "${workspaceFolder}/lib/renovate.ts",
|
|
|
|
"env": {
|
|
|
|
"LOG_LEVEL": "debug"
|
|
|
|
},
|
|
|
|
"preLaunchTask": "npm: clean-cache",
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
"runtimeArgs": ["-r", "ts-node/register/transpile-only"],
|
|
|
|
"protocol": "inspector",
|
|
|
|
"skipFiles": ["<node_internals>/**/*.js"]
|
|
|
|
},
|
2019-05-16 16:54:54 +00:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Jest Current File",
|
|
|
|
"program": "${workspaceFolder}/node_modules/.bin/jest",
|
|
|
|
"args": [
|
|
|
|
"--runInBand",
|
|
|
|
"--collectCoverage=false",
|
2021-09-16 06:42:49 +00:00
|
|
|
"--testTimeout=100000000",
|
2019-09-05 06:59:44 +00:00
|
|
|
"--runTestsByPath",
|
|
|
|
"${relativeFile}"
|
2019-05-16 16:54:54 +00:00
|
|
|
],
|
2021-08-24 10:54:21 +00:00
|
|
|
"env": {
|
|
|
|
"NODE_ENV": "test",
|
|
|
|
"LOG_LEVEL": "debug"
|
|
|
|
},
|
2019-05-16 16:54:54 +00:00
|
|
|
"console": "integratedTerminal",
|
|
|
|
"windows": {
|
|
|
|
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
|
|
|
|
},
|
2020-08-14 08:31:12 +00:00
|
|
|
"runtimeArgs": ["--preserve-symlinks"],
|
2019-05-16 16:54:54 +00:00
|
|
|
"protocol": "inspector",
|
|
|
|
"skipFiles": ["<node_internals>/**/*.js"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Jest All",
|
|
|
|
"program": "${workspaceFolder}/node_modules/.bin/jest",
|
2021-08-30 13:55:16 +00:00
|
|
|
"args": [
|
|
|
|
"--runInBand",
|
|
|
|
"--collectCoverage=false",
|
2021-09-16 06:42:49 +00:00
|
|
|
"--testTimeout=100000000"
|
2021-08-30 13:55:16 +00:00
|
|
|
],
|
2021-08-24 10:54:21 +00:00
|
|
|
"env": {
|
|
|
|
"NODE_ENV": "test",
|
|
|
|
"LOG_LEVEL": "debug"
|
|
|
|
},
|
2019-05-16 16:54:54 +00:00
|
|
|
"console": "integratedTerminal",
|
|
|
|
"windows": {
|
|
|
|
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
|
|
|
|
},
|
2020-08-14 08:31:12 +00:00
|
|
|
"runtimeArgs": ["--preserve-symlinks"],
|
2019-05-16 16:54:54 +00:00
|
|
|
"protocol": "inspector",
|
|
|
|
"skipFiles": ["<node_internals>/**/*.js"]
|
2021-08-24 10:54:21 +00:00
|
|
|
},
|
2022-01-10 21:01:57 +00:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"name": "Jest Current Folder",
|
|
|
|
"program": "${workspaceFolder}/node_modules/.bin/jest",
|
|
|
|
"args": [
|
|
|
|
"--runInBand",
|
|
|
|
"--collectCoverage=false",
|
|
|
|
"--testTimeout=100000000",
|
|
|
|
"--roots=${workspaceFolder}/${relativeFileDirname}"
|
|
|
|
],
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
"windows": {
|
|
|
|
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
|
|
|
|
},
|
|
|
|
"runtimeArgs": ["--preserve-symlinks"],
|
|
|
|
"protocol": "inspector",
|
|
|
|
"skipFiles": ["<node_internals>/**/*.js"]
|
|
|
|
},
|
2021-08-24 10:54:21 +00:00
|
|
|
{
|
|
|
|
"type": "node",
|
|
|
|
"name": "vscode-jest-tests",
|
|
|
|
"request": "launch",
|
|
|
|
"console": "integratedTerminal",
|
|
|
|
"internalConsoleOptions": "neverOpen",
|
|
|
|
"disableOptimisticBPs": true,
|
|
|
|
"cwd": "${workspaceFolder}",
|
2023-08-03 19:43:47 +00:00
|
|
|
"runtimeExecutable": "pnpm",
|
2021-08-30 13:55:16 +00:00
|
|
|
"args": [
|
|
|
|
"jest",
|
|
|
|
"--runInBand",
|
|
|
|
"--watchAll=false",
|
2021-09-16 06:42:49 +00:00
|
|
|
"--testTimeout=100000000"
|
2021-08-30 13:55:16 +00:00
|
|
|
]
|
2019-05-12 13:16:54 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|