.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>/**"
],
"cwd": "${workspaceRoot}",
"runtimeArgs": ["-r", "ts-node/register"],
"args": [
"${workspaceRoot}/src/index.ts"
]
},
{
"type": "node",
"request": "launch",
"name": "Tests",
"skipFiles": ["<node_internals>/**"],
"cwd": "${workspaceRoot}",
"args": [
"-r", "ts-node/register",
"${workspaceRoot}/node_modules/jest/bin/jest",
"test/unit",
"--runInBand",
"---testTimeout=99999999",
"---forceExit"
],
"outputCapture": "std"
},
{
"type": "node",
"request": "launch",
"name": "Tests e2e",
"skipFiles": ["<node_internals>/**"],
"cwd": "${workspaceRoot}",
"args": [
"-r", "ts-node/register",
"${workspaceRoot}/node_modules/jest/bin/jest",
"test/e2e",
"--runInBand",
"---testTimeout=99999999",
"---forceExit"
],
"outputCapture": "std"
}
]
}