renovate/.vscode/launch.json
IKEDA Sho 656cb0f700 test: Use relativeFile over fileBasenameNoExtension in vscode launch configuration (#4411)
test: Use relativeFile over fileBasenameNoExtension in vscode launch configuration
2019-09-05 08:59:44 +02:00

55 lines
1.7 KiB
JSON

{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "debug",
"program": "${workspaceFolder}/lib/renovate.ts",
"env": { "LOG_LEVEL": "debug" },
"console": "integratedTerminal",
"disableOptimisticBPs": true,
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/babel-node",
"runtimeArgs": ["--nolazy", "--extensions", ".ts,.js"],
"protocol": "inspector",
"skipFiles": ["<node_internals>/**/*.js"]
},
{
"type": "node",
"request": "launch",
"name": "Jest Current File",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": [
"--runInBand",
"--collectCoverage=false",
"--runTestsByPath",
"${relativeFile}"
],
"env": { "NODE_ENV": "test", "LOG_LEVEL": "debug" },
"console": "integratedTerminal",
"disableOptimisticBPs": true,
"windows": {
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
},
"runtimeArgs": ["--nolazy", "--preserve-symlinks"],
"protocol": "inspector",
"skipFiles": ["<node_internals>/**/*.js"]
},
{
"type": "node",
"request": "launch",
"name": "Jest All",
"program": "${workspaceFolder}/node_modules/.bin/jest",
"args": ["--runInBand", "--collectCoverage=false"],
"env": { "NODE_ENV": "test", "LOG_LEVEL": "debug" },
"console": "integratedTerminal",
"disableOptimisticBPs": true,
"windows": {
"program": "${workspaceFolder}/node_modules/jest/bin/jest"
},
"runtimeArgs": ["--nolazy", "--preserve-symlinks"],
"protocol": "inspector",
"skipFiles": ["<node_internals>/**/*.js"]
}
]
}