
{
  // 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": [
      {
        "runtimeVersion": "20.18.2",
        "name": "Debug Jest Tests",
        "type": "node",
        "request": "launch",
        "runtimeArgs": ["--inspect-brk", "${workspaceRoot}/node_modules/.bin/jest", "--runInBand"],
        "console": "integratedTerminal",
        "internalConsoleOptions": "neverOpen",
        "runtimeExecutable": "${env:HOME}/.nvm/versions/node/v20.18.2/bin/node",
        "preLaunchTask": "npm: fixtures:create",
        "postDebugTask": "npm: fixtures:drop"
      },
      {
        "name": "Debug CLI",
        "type": "node",
        "request": "launch",
        "runtimeVersion": "20.18.2",
        "runtimeExecutable": "tsx",
        "program": "${workspaceFolder}/lib/cli.ts",
        "localRoot": null,
        "cwd": "${workspaceFolder}",
        "console": "integratedTerminal",
        "skipFiles": [
          // Node.js internal core modules
          "<node_internals>/**",

          // Ignore all dependencies (optional)
          "${workspaceFolder}/api/node_modules/**"
        ],
        "runtimeArgs": ["-d","facade", "-s","facade,facade_private", "-o", "/Users/cameronellis/work/facade/api/src/generated/entities"],
      }
  ]
} 