mirror of https://github.com/renovatebot/renovate
113 lines
3.0 KiB
JSON
113 lines
3.0 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "debug",
|
|
"program": "${workspaceFolder}/lib/renovate.ts",
|
|
"env": {
|
|
"LOG_LEVEL": "debug"
|
|
},
|
|
"console": "integratedTerminal",
|
|
"runtimeArgs": ["-r", "ts-node/register/transpile-only"],
|
|
"skipFiles": ["<node_internals>/**/*.js"]
|
|
},
|
|
{
|
|
"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"],
|
|
"skipFiles": ["<node_internals>/**/*.js"]
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Jest Current File",
|
|
"runtimeExecutable": "pnpm",
|
|
"program": "jest",
|
|
"args": [
|
|
"--runInBand",
|
|
"--collectCoverage=false",
|
|
"--testTimeout=100000000",
|
|
"--runTestsByPath",
|
|
"${relativeFile}"
|
|
],
|
|
"env": {
|
|
"NODE_ENV": "test",
|
|
"LOG_LEVEL": "debug"
|
|
},
|
|
"console": "integratedTerminal",
|
|
"runtimeArgs": ["--preserve-symlinks"],
|
|
"skipFiles": ["<node_internals>/**/*.js"]
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Jest All",
|
|
"runtimeExecutable": "pnpm",
|
|
"program": "jest",
|
|
"args": [
|
|
"--runInBand",
|
|
"--collectCoverage=false",
|
|
"--testTimeout=100000000"
|
|
],
|
|
"env": {
|
|
"NODE_ENV": "test",
|
|
"LOG_LEVEL": "debug"
|
|
},
|
|
"console": "integratedTerminal",
|
|
"runtimeArgs": ["--preserve-symlinks"],
|
|
"skipFiles": ["<node_internals>/**/*.js"]
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Jest Current Folder",
|
|
"runtimeExecutable": "pnpm",
|
|
"program": "jest",
|
|
"args": [
|
|
"--runInBand",
|
|
"--collectCoverage=false",
|
|
"--testTimeout=100000000",
|
|
"--roots=${workspaceFolder}/${relativeFileDirname}"
|
|
],
|
|
"console": "integratedTerminal",
|
|
"runtimeArgs": ["--preserve-symlinks"],
|
|
"skipFiles": ["<node_internals>/**/*.js"]
|
|
},
|
|
{
|
|
"type": "node",
|
|
"name": "vscode-jest-tests.v2",
|
|
"request": "launch",
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "openOnSessionStart",
|
|
"cwd": "${workspaceFolder}",
|
|
"runtimeExecutable": "node",
|
|
"runtimeArgs": ["--experimental-vm-modules"],
|
|
"program": "node_modules/jest/bin/jest.js",
|
|
"args": [
|
|
"--runInBand",
|
|
"--watchAll=false",
|
|
"--testTimeout=100000000",
|
|
"--coverage=false",
|
|
"--runTestsByPath",
|
|
"${jest.testFile}",
|
|
"--testNamePattern",
|
|
"${jest.testNamePattern}"
|
|
],
|
|
"env": {
|
|
"NODE_ENV": "test",
|
|
"LOG_LEVEL": "trace",
|
|
"GIT_ALLOW_PROTOCOL": "file"
|
|
}
|
|
}
|
|
]
|
|
}
|