86 lines
2.3 KiB
JSON
86 lines
2.3 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "node",
|
|
"request": "launch",
|
|
"name": "Merow",
|
|
"program": "${workspaceFolder}/scripts/sleep-debug.js",
|
|
"skipFiles": [
|
|
"<node_internals>/**"
|
|
],
|
|
"console": "integratedTerminal",
|
|
"sourceMaps": true,
|
|
"resolveSourceMapLocations": [
|
|
"${workspaceFolder}/**",
|
|
"!**/node_modules/**"
|
|
],
|
|
"trace": true
|
|
},
|
|
{
|
|
"name": "Debug: Next.js Development",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/node_modules/.bin/next",
|
|
"args": ["dev"],
|
|
"console": "integratedTerminal",
|
|
"env": {
|
|
"NODE_ENV": "development"
|
|
},
|
|
"runtimeExecutable": "pnpm",
|
|
"runtimeArgs": ["run", "dev"],
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"resolveSourceMapLocations": [
|
|
"${workspaceFolder}/**",
|
|
"!**/node_modules/**"
|
|
],
|
|
"serverReadyAction": {
|
|
"action": "openExternally",
|
|
"pattern": "http://localhost:40625"
|
|
}
|
|
},
|
|
{
|
|
"name": "Debug: Development (Verbose)",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"runtimeExecutable": "pnpm",
|
|
"runtimeArgs": ["run", "dev"],
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"NODE_ENV": "development",
|
|
"DEBUG": "*",
|
|
"NEXT_TELEMETRY_DISABLED": "1"
|
|
},
|
|
"console": "integratedTerminal",
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"resolveSourceMapLocations": [
|
|
"${workspaceFolder}/**",
|
|
"!**/node_modules/**"
|
|
],
|
|
"serverReadyAction": {
|
|
"action": "openExternally",
|
|
"pattern": "http://localhost:40625"
|
|
}
|
|
},
|
|
{
|
|
"name": "Debug: Next.js Production",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"program": "${workspaceFolder}/node_modules/.bin/next",
|
|
"args": ["start"],
|
|
"console": "integratedTerminal",
|
|
"env": {
|
|
"NODE_ENV": "production"
|
|
},
|
|
"preLaunchTask": "Build: Production Build Only",
|
|
"runtimeExecutable": "pnpm",
|
|
"runtimeArgs": ["run", "start"],
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"serverReadyAction": {
|
|
"action": "openExternally",
|
|
"pattern": "http://localhost:40625"
|
|
}
|
|
}
|
|
]
|
|
}
|