diff --git a/.vscode/launch.json b/.vscode/launch.json index 9c0c647b..2b260b20 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -14,6 +14,25 @@ ], "jinja": true, "justMyCode": true + }, + { + "name": "Next.js: debug full stack", + "type": "node", + "request": "launch", + "program": "${workspaceFolder}/node_modules/next/dist/bin/next", + "runtimeArgs": [ + "--inspect" + ], + "skipFiles": [ + "/**" + ], + "serverReadyAction": { + "action": "debugWithEdge", + "killOnServerStop": true, + "pattern": "- Local:.+(https?://.+)", + "uriFormat": "%s", + "webRoot": "${workspaceFolder}", + } } ] }