2020-05-20 05:18:02 +02:00
|
|
|
{
|
|
|
|
// 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": [
|
2022-07-07 22:17:17 +02:00
|
|
|
{
|
2023-05-12 13:01:07 +02:00
|
|
|
"name": "Launch test/e2e/app-dir/app development",
|
2022-07-07 22:17:17 +02:00
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"cwd": "${workspaceFolder}",
|
2024-04-22 14:40:23 +02:00
|
|
|
"runtimeExecutable": "node",
|
|
|
|
"runtimeArgs": [
|
|
|
|
"packages/next/dist/bin/next",
|
|
|
|
"dev",
|
|
|
|
"test/e2e/app-dir/app"
|
|
|
|
],
|
2022-07-07 22:17:17 +02:00
|
|
|
"skipFiles": ["<node_internals>/**"],
|
2024-04-22 14:40:23 +02:00
|
|
|
"sourceMapPathOverrides": {
|
|
|
|
"webpack://_N_E/../../../*": "${workspaceFolder}/packages/next/*",
|
|
|
|
"webpack://next/./dist/src/*": "${workspaceFolder}/packages/next/src/*"
|
|
|
|
},
|
2023-02-13 16:12:44 +01:00
|
|
|
"env": {
|
2024-04-22 14:40:23 +02:00
|
|
|
"NEXT_PRIVATE_LOCAL_WEBPACK": "1",
|
|
|
|
"NEXT_TELEMETRY_DISABLED": "1"
|
2023-02-13 16:12:44 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
2023-05-12 13:01:07 +02:00
|
|
|
"name": "Launch test/e2e/app-dir/app build",
|
2023-02-13 16:12:44 +01:00
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"cwd": "${workspaceFolder}",
|
2024-04-22 14:40:23 +02:00
|
|
|
"runtimeExecutable": "node",
|
|
|
|
"runtimeArgs": [
|
|
|
|
"packages/next/dist/bin/next",
|
|
|
|
"build",
|
|
|
|
"test/e2e/app-dir/app"
|
|
|
|
],
|
2023-02-13 16:12:44 +01:00
|
|
|
"skipFiles": ["<node_internals>/**"],
|
2024-04-22 14:40:23 +02:00
|
|
|
"sourceMapPathOverrides": {
|
|
|
|
"webpack://_N_E/../../../*": "${workspaceFolder}/packages/next/*",
|
|
|
|
"webpack://next/./dist/src/*": "${workspaceFolder}/packages/next/src/*"
|
|
|
|
},
|
2022-07-07 22:17:17 +02:00
|
|
|
"env": {
|
2024-04-22 14:40:23 +02:00
|
|
|
"NEXT_PRIVATE_LOCAL_WEBPACK": "1",
|
|
|
|
"NEXT_TELEMETRY_DISABLED": "1"
|
2022-07-07 22:17:17 +02:00
|
|
|
}
|
|
|
|
},
|
2020-05-20 05:18:02 +02:00
|
|
|
{
|
2023-05-12 13:01:07 +02:00
|
|
|
"name": "Launch examples/hello-world development",
|
2020-05-20 05:18:02 +02:00
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"cwd": "${workspaceFolder}",
|
2024-04-22 14:40:23 +02:00
|
|
|
"runtimeExecutable": "node",
|
|
|
|
"runtimeArgs": [
|
|
|
|
"packages/next/dist/bin/next",
|
|
|
|
"dev",
|
|
|
|
"examples/hello-world"
|
|
|
|
],
|
2020-05-25 16:21:06 +02:00
|
|
|
"skipFiles": ["<node_internals>/**"],
|
2024-04-22 14:40:23 +02:00
|
|
|
"sourceMapPathOverrides": {
|
|
|
|
"webpack://_N_E/../../../*": "${workspaceFolder}/packages/next/*",
|
|
|
|
"webpack://next/./dist/src/*": "${workspaceFolder}/packages/next/src/*"
|
|
|
|
},
|
2021-09-27 12:57:37 +02:00
|
|
|
"env": {
|
2024-04-22 14:40:23 +02:00
|
|
|
"NEXT_PRIVATE_LOCAL_WEBPACK": "1",
|
|
|
|
"NEXT_TELEMETRY_DISABLED": "1"
|
2021-09-27 12:57:37 +02:00
|
|
|
}
|
2020-05-20 05:18:02 +02:00
|
|
|
},
|
|
|
|
{
|
2023-05-12 13:01:07 +02:00
|
|
|
"name": "Launch examples/hello-world build",
|
2020-05-20 05:18:02 +02:00
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"cwd": "${workspaceFolder}",
|
2024-04-22 14:40:23 +02:00
|
|
|
"runtimeExecutable": "node",
|
|
|
|
"runtimeArgs": [
|
|
|
|
"packages/next/dist/bin/next",
|
|
|
|
"build",
|
|
|
|
"examples/hello-world"
|
|
|
|
],
|
|
|
|
"sourceMapPathOverrides": {
|
|
|
|
"webpack://_N_E/../../../*": "${workspaceFolder}/packages/next/*",
|
|
|
|
"webpack://next/./dist/src/*": "${workspaceFolder}/packages/next/src/*"
|
|
|
|
},
|
2021-02-12 11:17:38 +01:00
|
|
|
"skipFiles": ["<node_internals>/**"],
|
2021-09-27 12:57:37 +02:00
|
|
|
"env": {
|
2022-09-16 23:54:58 +02:00
|
|
|
"NEXT_PRIVATE_LOCAL_WEBPACK": "1"
|
2021-09-27 12:57:37 +02:00
|
|
|
}
|
2021-02-12 11:17:38 +01:00
|
|
|
},
|
|
|
|
{
|
2023-05-12 13:01:07 +02:00
|
|
|
"name": "Launch examples/hello-world production",
|
2021-02-12 11:17:38 +01:00
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"cwd": "${workspaceFolder}",
|
2024-04-22 14:40:23 +02:00
|
|
|
"runtimeExecutable": "node",
|
|
|
|
"runtimeArgs": [
|
|
|
|
"packages/next/dist/bin/next",
|
|
|
|
"start",
|
|
|
|
"examples/hello-world"
|
|
|
|
],
|
2020-05-25 16:21:06 +02:00
|
|
|
"skipFiles": ["<node_internals>/**"],
|
2024-04-22 14:40:23 +02:00
|
|
|
"sourceMapPathOverrides": {
|
|
|
|
"webpack://_N_E/../../../*": "${workspaceFolder}/packages/next/*",
|
|
|
|
"webpack://next/./dist/src/*": "${workspaceFolder}/packages/next/src/*"
|
|
|
|
},
|
2021-09-27 12:57:37 +02:00
|
|
|
"env": {
|
2024-04-22 14:40:23 +02:00
|
|
|
"NEXT_PRIVATE_LOCAL_WEBPACK": "1",
|
|
|
|
"NEXT_TELEMETRY_DISABLED": "1"
|
2021-09-27 12:57:37 +02:00
|
|
|
}
|
2020-05-20 05:18:02 +02:00
|
|
|
},
|
|
|
|
{
|
2022-09-16 23:54:58 +02:00
|
|
|
"name": "Launch current directory in development",
|
2020-05-20 05:18:02 +02:00
|
|
|
"type": "node",
|
|
|
|
"request": "launch",
|
|
|
|
"cwd": "${workspaceFolder}",
|
2024-04-22 14:40:23 +02:00
|
|
|
"runtimeExecutable": "node",
|
|
|
|
"runtimeArgs": ["packages/next/dist/bin/next", "dev", "${fileDirname}"],
|
2020-05-25 16:21:06 +02:00
|
|
|
"skipFiles": ["<node_internals>/**"],
|
2024-04-22 14:40:23 +02:00
|
|
|
"sourceMapPathOverrides": {
|
|
|
|
"webpack://_N_E/../../../*": "${workspaceFolder}/packages/next/*",
|
|
|
|
"webpack://next/./dist/src/*": "${workspaceFolder}/packages/next/src/*"
|
|
|
|
},
|
2021-09-27 12:57:37 +02:00
|
|
|
"env": {
|
2024-04-22 14:40:23 +02:00
|
|
|
"NEXT_PRIVATE_LOCAL_WEBPACK": "1",
|
|
|
|
"NEXT_TELEMETRY_DISABLED": "1"
|
2021-09-27 12:57:37 +02:00
|
|
|
}
|
2020-05-20 05:18:02 +02:00
|
|
|
},
|
|
|
|
{
|
2022-09-16 23:54:58 +02:00
|
|
|
"name": "Launch app build trace jaeger",
|
2020-05-20 05:18:02 +02:00
|
|
|
"type": "node",
|
2022-09-16 23:54:58 +02:00
|
|
|
"request": "launch",
|
|
|
|
"cwd": "${workspaceFolder}",
|
|
|
|
"runtimeExecutable": "pnpm",
|
|
|
|
"runtimeArgs": ["clean-trace-jaeger"],
|
2020-05-20 05:18:02 +02:00
|
|
|
"skipFiles": ["<node_internals>/**"],
|
2021-09-27 12:57:37 +02:00
|
|
|
"env": {
|
2022-09-16 23:54:58 +02:00
|
|
|
"NEXT_PRIVATE_LOCAL_WEBPACK": "1"
|
2021-09-27 12:57:37 +02:00
|
|
|
}
|
2021-01-23 16:40:30 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "node",
|
2022-09-16 23:54:58 +02:00
|
|
|
"request": "attach",
|
|
|
|
"name": "Attach to existing debugger",
|
2021-09-27 12:57:37 +02:00
|
|
|
"port": 9229,
|
2022-09-16 23:54:58 +02:00
|
|
|
"skipFiles": ["<node_internals>/**"],
|
2021-09-27 12:57:37 +02:00
|
|
|
"env": {
|
2022-09-16 23:54:58 +02:00
|
|
|
"NEXT_PRIVATE_LOCAL_WEBPACK": "1"
|
2021-09-27 12:57:37 +02:00
|
|
|
}
|
2020-05-20 05:18:02 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|