diff --git a/.vscode/launch.json b/.vscode/launch.json index d4352b2..647d9b0 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -3,9 +3,35 @@ "configurations": [ { "name": "Web server", - "type": "node-terminal", + "type": "node", "request": "launch", - "command": "yarn run app:dev", + "runtimeArgs": [ + "run", + "app:dev" + ], + "runtimeExecutable": "yarn", + "skipFiles": [ + "/**" + ], + "env": { + "NODE_OPTIONS": "--inspect" + }, + "presentation": { + "group": "Single", + } + }, + { + "name": "Prisma Studio", + "type": "node", + "request": "launch", + "runtimeArgs": [ + "run", + "db:studio" + ], + "runtimeExecutable": "yarn", + "skipFiles": [ + "/**" + ], "presentation": { "group": "Single", } @@ -25,15 +51,6 @@ "group": "Single", } }, - { - "name": "Prisma Studio", - "type": "node-terminal", - "request": "launch", - "command": "yarn run db:studio", - "presentation": { - "group": "Single", - } - } ], "compounds": [ {