cloudflare/Azure-Sentinel
Publicmirrored fromhttps://github.com/cloudflare/Azure-Sentinel
.vscode/launch.json
49lines · modecode
| 1 | { |
| 2 | // Use IntelliSense to learn about possible attributes. |
| 3 | // Hover to view descriptions of existing attributes. |
| 4 | // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 |
| 5 | "version": "0.2.0", |
| 6 | "configurations": [ |
| 7 | { |
| 8 | "name": "Launch Program", |
| 9 | "type": "node", |
| 10 | "request": "launch", |
| 11 | "args": ["${relativeFile}"], |
| 12 | "runtimeArgs": ["--nolazy", "-r", "ts-node/register"], |
| 13 | "sourceMaps": true, |
| 14 | "cwd": "${workspaceRoot}", |
| 15 | "protocol": "inspector", |
| 16 | |
| 17 | }, |
| 18 | { |
| 19 | "type": "node", |
| 20 | "request": "launch", |
| 21 | "name": "Mocha All", |
| 22 | "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", |
| 23 | "args": [ |
| 24 | "--timeout", |
| 25 | "999999", |
| 26 | "--colors", |
| 27 | "${workspaceFolder}/.script/test" |
| 28 | ], |
| 29 | "runtimeArgs": ["--nolazy", "-r", "ts-node/register"], |
| 30 | "console": "integratedTerminal", |
| 31 | "internalConsoleOptions": "neverOpen" |
| 32 | }, |
| 33 | { |
| 34 | "type": "node", |
| 35 | "request": "launch", |
| 36 | "name": "Mocha Current File", |
| 37 | "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", |
| 38 | "args": [ |
| 39 | "--timeout", |
| 40 | "999999", |
| 41 | "--colors", |
| 42 | "${file}" |
| 43 | ], |
| 44 | "runtimeArgs": ["--nolazy", "-r", "ts-node/register"], |
| 45 | "console": "integratedTerminal", |
| 46 | "internalConsoleOptions": "neverOpen" |
| 47 | } |
| 48 | ] |
| 49 | } |