Created
June 21, 2019 16:15
-
-
Save tilfin/c7384d7c2afcecccf974d043ce1ef525 to your computer and use it in GitHub Desktop.
Visual Studio Code - launch.json
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
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"type": "node", | |
"request": "launch", | |
"name": "Launch Program", | |
"program": "${workspaceFolder}/app.js", | |
"envFile": "${workspaceFolder}/.envrc", | |
"outFiles": [ | |
"${workspaceFolder}/**/*.js" | |
], | |
}, | |
{ | |
"name": "TypeScript Test", | |
"type": "node", | |
"request": "launch", | |
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha", | |
"env": { | |
}, | |
"args": ["--file", "test/helper.js", "-r", "ts-node/register", "--require", "test/mocha.env.js", "--timeout", "1000000", "${relativeFile}"], | |
"cwd": "${workspaceRoot}", | |
"protocol": "inspector" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment