Created
June 21, 2018 17:14
-
-
Save atsjj/9c40b6848ee2afcb0fcfad377fc8333e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 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": [ | |
{ | |
"name": "Launch File", | |
"protocol": "inspector", | |
"request": "launch", | |
"type": "node", | |
"cwd": "${workspaceFolder}", | |
"env": { | |
"NODE_ENV": "development" | |
}, | |
"autoAttachChildProcesses": true, | |
"internalConsoleOptions": "openOnSessionStart", | |
"runtimeArgs": [ | |
"--require", | |
"ts-node/register" | |
], | |
"args": [ | |
"${relativeFile}" | |
] | |
}, | |
{ | |
"name": "Launch Program", | |
"protocol": "inspector", | |
"request": "launch", | |
"type": "node", | |
"cwd": "${workspaceFolder}", | |
"env": { | |
"NODE_ENV": "development" | |
}, | |
"autoAttachChildProcesses": true, | |
"internalConsoleOptions": "openOnSessionStart", | |
"runtimeArgs": [ | |
"--require", | |
"ts-node/register" | |
], | |
"args": [ | |
"${workspaceFolder}/index.ts" | |
] | |
}, | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Launch Tests", | |
"cwd": "${workspaceFolder}", | |
"program": "${workspaceRoot}/node_modules/.bin/_mocha", | |
"env": { "NODE_ENV": "test" }, | |
"args": [ | |
"--no-timeouts", | |
"--colors", | |
"--recursive", | |
"--inspect-brk", | |
"${workspaceFolder}/test/**/*.ts", | |
"--require", | |
"ts-node/register" | |
], | |
"stopOnEntry": false, | |
"internalConsoleOptions": "openOnSessionStart", | |
"sourceMaps": true, | |
"protocol": "inspector", | |
"outFiles": ["${workspaceFolder}/build/**/*.*"] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment