{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Debug Backend (ts-node-dev)",
      "type": "node",
      "request": "launch",
      "runtimeExecutable": "npx",
      "runtimeArgs": [
        "ts-node-dev",
        "--respawn",
        "--transpile-only",
        "src/app.ts"
      ],
      "cwd": "${workspaceFolder}/backend",
      "console": "integratedTerminal",
      "internalConsoleOptions": "neverOpen",
      "restart": true,
      "protocol": "inspector"
    },
    {
      "name": "Debug Backend (built)",
      "type": "node",
      "request": "launch",
      "runtimeExecutable": "node",
      "args": ["dist/app.js"],
      "cwd": "${workspaceFolder}/backend",
      "console": "integratedTerminal",
      "internalConsoleOptions": "neverOpen",
      "protocol": "inspector"
    }
  ]
}
