templates/.vscode/launch.json
{
// 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": "Launch program",
"skipFiles": [
"<node_internals>/**",
"${workspaceRoot}/node_modules"
],
"cwd": "${workspaceRoot}",
"runtimeArgs": ["-r", "ts-node/register"],
"args": [
"${workspaceRoot}/src/index.ts"
],
"envFile": "${workspaceRoot}/.env",
"outputCapture": "std"
},
{
"type": "node",
"request": "launch",
"name": "Mocha Tests",
"skipFiles": [
"<node_internals>/**",
"${workspaceRoot}/node_modules"
],
"cwd": "${workspaceRoot}",
"args": [
"${workspaceRoot}/node_modules/mocha/bin/_mocha",
"--timeout", "999999"
],
"outputCapture": "std"
}
]
}