diff --git a/.vscode/launch.json b/.vscode/launch.json index 51af5e1fd988c99022eca0f9709c364ffb650a04..18688d7bce75c81e83dcd45b90ed9fb9c97cca7b 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -1,20 +1,21 @@ { - "version": "0.2.0", - "configurations": [ - { - "type": "pwa-node", - "request": "launch", - "name": "Next.js: Node", - "runtimeExecutable": "npm", - "runtimeArgs": ["run", "dev"], - "port": 9229, - "restart": true, - "console": "integratedTerminal", - "env": { - "NODE_OPTIONS": "--inspect" - }, - "cwd": "${workspaceFolder}" - } - ] - } - \ No newline at end of file + "version": "0.2.0", + "configurations": [ + { + "type": "node", // Changed from pwa-node to node + "request": "launch", + "name": "Launch Program", + "skipFiles": ["<node_internals>/**"], + "program": "${workspaceFolder}/node_modules/next/dist/bin/next", + "args": ["dev"], + "runtimeArgs": ["--inspect=9229"], + "port": 9229, + "restart": true, + "console": "integratedTerminal", + "env": { + "NODE_OPTIONS": "--inspect=9229" + }, + "cwd": "${workspaceFolder}" + } + ] +}