.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": [{
"name": "Tap current file",
"type": "node",
"request": "launch",
"args": ["${relativeFile}"],
"runtimeArgs": [
"--nolazy",
"-r",
"ts-node/register",
"-r",
"tsconfig-paths/register"
],
"env": {
"TS_NODE_FILES": "true",
"TS_NODE_PROJECT": "./test/tsconfig.json"
},
"cwd": "${workspaceRoot}",
"protocol": "inspector",
}]
}