2e6588d028
Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
90 lines
2.5 KiB
JSON
90 lines
2.5 KiB
JSON
{
|
|
// Use IntelliSense to learn about possible attributes.
|
|
// Hover to view descriptions of existing attributes.
|
|
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Launch app-dir development",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"cwd": "${workspaceFolder}",
|
|
"runtimeExecutable": "pnpm",
|
|
"runtimeArgs": ["debug", "dev", "test/e2e/app-dir/app"],
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"env": {
|
|
"NEXT_PRIVATE_LOCAL_WEBPACK": "1"
|
|
}
|
|
},
|
|
{
|
|
"name": "Launch app development",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"cwd": "${workspaceFolder}",
|
|
"runtimeExecutable": "pnpm",
|
|
"runtimeArgs": ["debug", "dev", "examples/hello-world"],
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"env": {
|
|
"NEXT_PRIVATE_LOCAL_WEBPACK": "1"
|
|
}
|
|
},
|
|
{
|
|
"name": "Launch app build",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"cwd": "${workspaceFolder}",
|
|
"runtimeExecutable": "pnpm",
|
|
"runtimeArgs": ["debug", "build", "examples/hello-world"],
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"env": {
|
|
"NEXT_PRIVATE_LOCAL_WEBPACK": "1"
|
|
}
|
|
},
|
|
{
|
|
"name": "Launch app production",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"cwd": "${workspaceFolder}",
|
|
"runtimeExecutable": "pnpm",
|
|
"runtimeArgs": ["debug", "start", "examples/hello-world"],
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"env": {
|
|
"NEXT_PRIVATE_LOCAL_WEBPACK": "1"
|
|
}
|
|
},
|
|
{
|
|
"name": "Launch current directory in development",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"cwd": "${workspaceFolder}",
|
|
"runtimeExecutable": "pnpm",
|
|
"runtimeArgs": ["debug", "dev", "${fileDirname}"],
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"env": {
|
|
"NEXT_PRIVATE_LOCAL_WEBPACK": "1"
|
|
}
|
|
},
|
|
{
|
|
"name": "Launch app build trace jaeger",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"cwd": "${workspaceFolder}",
|
|
"runtimeExecutable": "pnpm",
|
|
"runtimeArgs": ["clean-trace-jaeger"],
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"env": {
|
|
"NEXT_PRIVATE_LOCAL_WEBPACK": "1"
|
|
}
|
|
},
|
|
{
|
|
"type": "node",
|
|
"request": "attach",
|
|
"name": "Attach to existing debugger",
|
|
"port": 9229,
|
|
"skipFiles": ["<node_internals>/**"],
|
|
"env": {
|
|
"NEXT_PRIVATE_LOCAL_WEBPACK": "1"
|
|
}
|
|
}
|
|
]
|
|
}
|