{
  // 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 Development Server",
      "cwd": "${workspaceFolder}",
      "args": [
        "-r",
        "ts-node/register",
        "-r",
        "tsconfig-paths/register",
        "${workspaceFolder}/src/index.ts"
      ],
      "env": {
        "TS_NODE_PROJECT": "${workspaceFolder}/src/tsconfig.json",
        "TS_NODE_FILES": "true",
        "TS_NODE_TRANSPILE_ONLY": "true",
        // Set to 1 here beacuse clustering gets all weird with logging + output.
        "CONCURRENCY": "1"
      },
      "outputCapture": "std"
    },
    {
      "type": "node",
      "request": "attach",
      "name": "Attach to Node Process",
      "processId": "${command:PickProcess}",
      "restart": true,
      "protocol": "inspector"
    }
  ]
}
