What would be the easiest way to debug the seed.ts...
# orm-help
t
What would be the easiest way to debug the seed.ts with VSCode??
r
@Tyler Clendenin 👋 Have you tried this?
t
umm, yes, this is what I ended up using
Copy code
{
      "name": "Launch Prisma Seed",
      "type": "node",
      "request": "launch",
      "runtimeArgs": [
        "--nolazy",
        "-r",
        "ts-node/register",
        "./prisma/seed.ts"
      ],
      "sourceMaps": true,
      "cwd": "${workspaceFolder}",
      "protocol": "inspector"
    },
though I don't know if there is a better method to doing it
r
I think this should be fine