.vscode/launch.json
{
"version": "0.2.0",
"configurations": [
{
"name": "Run the CLI",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}\\bin\\swagger-cli.js",
"stopOnEntry": false,
"args": [
"--debug",
"validate",
"test/files/invalid/internal-ref/api.yaml"
],
"cwd": "${workspaceRoot}",
"preLaunchTask": null,
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
],
"env": {
"NODE_ENV": "development",
"NODE_OPTIONS": ""
},
"console": "internalConsole",
"sourceMaps": false
},
{
"name": "Run tests",
"type": "node",
"request": "launch",
"program": "${workspaceRoot}\\node_modules\\mocha\\bin\\_mocha",
"stopOnEntry": false,
"args": [
"--timeout=600000",
"--retries=0"
],
"cwd": "${workspaceRoot}",
"preLaunchTask": null,
"runtimeExecutable": null,
"runtimeArgs": [
"--nolazy"
],
"env": {
"NODE_ENV": "development"
},
"console": "internalConsole",
"sourceMaps": false
}
]
}