3ff21ed178
Continues #39778 Closes #40499 ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have helpful link attached, see `contributing.md` ## Documentation / Examples - [ ] Make sure the linting passes by running `pnpm lint` - [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples) Co-authored-by: Tim Neutkens <tim@timneutkens.nl> Co-authored-by: JJ Kasper <jj@jjsweb.site>
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-react-exp", "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"
|
|
}
|
|
}
|
|
]
|
|
}
|