{
  // This configurtion makes it possible to debug the Mocha tests with
  // break points.
  "version": "0.2.0",
  "configurations": [
    {
      "type": "node",
      "request": "launch",
      "name": "Mocha Tests 2",
      "program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
      "protocol": "inspector",
      "args": [
        "--no-timeouts",
        "-r",
        "ts-node/register",
        "--colors",
        "${workspaceRoot}/test/**/*.ts"
      ],
      "outFiles": [
        "${workspaceRoot}/dist"
      ],
      "sourceMaps": true,
      "cwd": "${workspaceRoot}",
      "runtimeExecutable": null,
      "internalConsoleOptions": "openOnSessionStart",
      "stopOnEntry": false,
      "env": {
        "NODE_ENV": "testing"
      },
      "skipFiles": [
        "node_modules/**/*.js",
        "<node_internals>/**/*.js"
      ]
    },
  ]
}
Add debug configuration for VSCode
Add debug configuration for VSCode
