{
  // 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": "Test Current File (NodeTS WSL)",
      "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
      "cwd": "${workspaceFolder}",
      "envFile": "${workspaceFolder}/.env",
      "env": {
        "NODE_PATH": "${workspaceFolder}"
      },
      "args": ["--config", "${workspaceFolder}/.mocharc.json", "${file}"],
      "internalConsoleOptions": "openOnSessionStart",
      // "console": "integratedTerminal",
      "outputCapture": "std"
    },
    {
      "type": "node",
      "request": "launch",
      "name": "Test All (NodeTS WSL)",
      "program": "${workspaceFolder}/node_modules/mocha/bin/_mocha",
      "cwd": "${workspaceFolder}",
      "envFile": "${workspaceFolder}/.env",
      "env": {
        "NODE_PATH": "${workspaceFolder}"
      },
      "args": ["--config", "${workspaceFolder}/.mocharc.json", "${workspaceFolder}/tests/**/*.test.ts"],
      // "console": "integratedTerminal",
      "internalConsoleOptions": "openOnSessionStart",
      "outputCapture": "std"
    },
    {
      "type": "node",
      "request": "launch",
      "name": "Start (NodeTS WSL)",
      "program": "${workspaceFolder}/src/server.ts",
      "preLaunchTask": "tsc:dev",
      "envFile": "${workspaceFolder}/.env",
      "env": {
        "NODE_PATH": "${workspaceFolder}/dist"
      },
      "outFiles": ["${workspaceFolder}/dist/**/*.js"],
      // "console": "integratedTerminal",
      "internalConsoleOptions": "openOnSessionStart",
      "outputCapture": "std"
    }
  ]
}
