forked from sk1982/actaeon
32 lines
807 B
JSON
32 lines
807 B
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Next.js: debug server-side",
|
|
"type": "node-terminal",
|
|
"request": "launch",
|
|
"command": "npm run dev"
|
|
},
|
|
{
|
|
"name": "Next.js: debug client-side",
|
|
"type": "chrome",
|
|
"request": "launch",
|
|
"url": "http://localhost:3000"
|
|
},
|
|
{
|
|
"name": "Next.js: debug full stack",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/node_modules/.bin/next",
|
|
"runtimeArgs": ["--inspect"],
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"serverReadyAction": {
|
|
"action": "debugWithEdge",
|
|
"killOnServerStop": true,
|
|
"pattern": "- Local:.+(https?://.+)",
|
|
"uriFormat": "%s",
|
|
"webRoot": "${workspaceFolder}"
|
|
}
|
|
}
|
|
]
|
|
} |