|
9 | 9 | "type": "node",
|
10 | 10 | "request": "launch",
|
11 | 11 | "cwd": "${workspaceFolder}",
|
12 |
| - "runtimeExecutable": "yarn", |
13 |
| - "runtimeArgs": ["run", "debug-react-exp", "dev", "test/e2e/app-dir/app"], |
| 12 | + "runtimeExecutable": "pnpm", |
| 13 | + "runtimeArgs": ["debug-react-exp", "dev", "test/e2e/app-dir/app"], |
14 | 14 | "skipFiles": ["<node_internals>/**"],
|
15 |
| - "outFiles": ["${workspaceFolder}/packages/next/dist/**/*"], |
16 |
| - "port": 9229, |
17 | 15 | "env": {
|
18 |
| - "NEXT_PRIVATE_LOCAL_WEBPACK5": "1" |
| 16 | + "NEXT_PRIVATE_LOCAL_WEBPACK": "1" |
19 | 17 | }
|
20 | 18 | },
|
21 | 19 | {
|
22 | 20 | "name": "Launch app development",
|
23 | 21 | "type": "node",
|
24 | 22 | "request": "launch",
|
25 | 23 | "cwd": "${workspaceFolder}",
|
26 |
| - "runtimeExecutable": "yarn", |
27 |
| - "runtimeArgs": ["run", "debug", "dev", "bench/nested-deps"], |
| 24 | + "runtimeExecutable": "pnpm", |
| 25 | + "runtimeArgs": ["debug", "dev", "examples/hello-world"], |
28 | 26 | "skipFiles": ["<node_internals>/**"],
|
29 |
| - "outFiles": ["${workspaceFolder}/packages/next/dist/**/*"], |
30 |
| - "port": 9229, |
31 | 27 | "env": {
|
32 |
| - "NEXT_PRIVATE_LOCAL_WEBPACK5": "1" |
| 28 | + "NEXT_PRIVATE_LOCAL_WEBPACK": "1" |
33 | 29 | }
|
34 | 30 | },
|
35 | 31 | {
|
36 | 32 | "name": "Launch app build",
|
37 | 33 | "type": "node",
|
38 | 34 | "request": "launch",
|
39 | 35 | "cwd": "${workspaceFolder}",
|
40 |
| - "runtimeExecutable": "yarn", |
41 |
| - "runtimeArgs": ["run", "debug", "build", "bench/nested-deps"], |
| 36 | + "runtimeExecutable": "pnpm", |
| 37 | + "runtimeArgs": ["debug", "build", "examples/hello-world"], |
42 | 38 | "skipFiles": ["<node_internals>/**"],
|
43 |
| - "port": 9229, |
44 |
| - "outFiles": ["${workspaceFolder}/packages/next/dist/**/*"], |
45 | 39 | "env": {
|
46 |
| - "NEXT_PRIVATE_LOCAL_WEBPACK5": "1" |
| 40 | + "NEXT_PRIVATE_LOCAL_WEBPACK": "1" |
47 | 41 | }
|
48 | 42 | },
|
49 | 43 | {
|
50 |
| - "name": "Launch app build trace jaeger", |
| 44 | + "name": "Launch app production", |
51 | 45 | "type": "node",
|
52 | 46 | "request": "launch",
|
53 | 47 | "cwd": "${workspaceFolder}",
|
54 |
| - "runtimeExecutable": "yarn", |
55 |
| - "runtimeArgs": ["run", "clean-trace-jaeger"], |
| 48 | + "runtimeExecutable": "pnpm", |
| 49 | + "runtimeArgs": ["debug", "start", "examples/hello-world"], |
56 | 50 | "skipFiles": ["<node_internals>/**"],
|
57 |
| - "port": 9229, |
58 |
| - "outFiles": ["${workspaceFolder}/packages/next/dist/**/*"], |
59 | 51 | "env": {
|
60 |
| - "NEXT_PRIVATE_LOCAL_WEBPACK5": "1" |
| 52 | + "NEXT_PRIVATE_LOCAL_WEBPACK": "1" |
61 | 53 | }
|
62 | 54 | },
|
63 | 55 | {
|
64 |
| - "name": "Launch app production", |
| 56 | + "name": "Launch current directory in development", |
65 | 57 | "type": "node",
|
66 | 58 | "request": "launch",
|
67 | 59 | "cwd": "${workspaceFolder}",
|
68 |
| - "runtimeExecutable": "yarn", |
69 |
| - "runtimeArgs": ["run", "debug", "start", "bench/nested-deps"], |
| 60 | + "runtimeExecutable": "pnpm", |
| 61 | + "runtimeArgs": ["debug", "dev", "${fileDirname}"], |
70 | 62 | "skipFiles": ["<node_internals>/**"],
|
71 |
| - "port": 9229, |
72 | 63 | "env": {
|
73 |
| - "NEXT_PRIVATE_LOCAL_WEBPACK5": "1" |
| 64 | + "NEXT_PRIVATE_LOCAL_WEBPACK": "1" |
74 | 65 | }
|
75 | 66 | },
|
76 | 67 | {
|
| 68 | + "name": "Launch app build trace jaeger", |
77 | 69 | "type": "node",
|
78 |
| - "request": "attach", |
79 |
| - "name": "Attach to existing debugger", |
80 |
| - "port": 9229, |
| 70 | + "request": "launch", |
| 71 | + "cwd": "${workspaceFolder}", |
| 72 | + "runtimeExecutable": "pnpm", |
| 73 | + "runtimeArgs": ["clean-trace-jaeger"], |
81 | 74 | "skipFiles": ["<node_internals>/**"],
|
82 |
| - "outFiles": ["${workspaceFolder}/packages/next/dist/**/*"], |
83 | 75 | "env": {
|
84 |
| - "NEXT_PRIVATE_LOCAL_WEBPACK5": "1" |
| 76 | + "NEXT_PRIVATE_LOCAL_WEBPACK": "1" |
85 | 77 | }
|
86 | 78 | },
|
87 | 79 | {
|
88 |
| - "name": "Launch this example", |
89 | 80 | "type": "node",
|
90 |
| - "request": "launch", |
91 |
| - "cwd": "${workspaceFolder}", |
92 |
| - "runtimeExecutable": "yarn", |
93 |
| - "runtimeArgs": ["run", "debug", "dev", "${fileDirname}"], |
94 |
| - "skipFiles": ["<node_internals>/**"], |
| 81 | + "request": "attach", |
| 82 | + "name": "Attach to existing debugger", |
95 | 83 | "port": 9229,
|
| 84 | + "skipFiles": ["<node_internals>/**"], |
96 | 85 | "env": {
|
97 |
| - "NEXT_PRIVATE_LOCAL_WEBPACK5": "1" |
| 86 | + "NEXT_PRIVATE_LOCAL_WEBPACK": "1" |
98 | 87 | }
|
99 | 88 | }
|
100 | 89 | ]
|
|
0 commit comments