Software Engineering :: Editor :: Text :: Visual Studio Code :: Launch :: VSCode Launch JSON for TypeScript/Node.js and Mocha
⪼ Made with 💜 by Polyglot.
| { | |
| // Use IntelliSense to learn about possible attributes. | |
| // Hover to view descriptions of existing attributes. | |
| // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "type": "node", | |
| "request": "launch", | |
| "name": "test:w (mocha)", | |
| "skipFiles": [ | |
| "<node_internals>/**" | |
| ], | |
| "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha", | |
| "args": [ | |
| "--colors", | |
| "--watch-extensions", | |
| "ts", | |
| "--watch", | |
| "--require", | |
| "ts-node/register", | |
| "-r", | |
| "src/test/init.ts", | |
| "${workspaceFolder}/src/**/*.spec.ts", | |
| ], | |
| "console": "integratedTerminal", | |
| "internalConsoleOptions": "neverOpen", | |
| "sourceMaps": true, | |
| "cwd": "${workspaceRoot}", | |
| "outFiles": [ | |
| "${workspaceFolder}/dist/**/*.js" | |
| ] | |
| } | |
| ] | |
| } |