Skip to content

Commit 5bfef50

Browse files
committed
chore: update launch.json
1 parent 0cba1e3 commit 5bfef50

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed

.vscode/launch.json

+24-3
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,38 @@
22
"version": "0.2.0",
33
"configurations": [
44
{
5-
"name": "pnpm start",
6-
"command": "pnpm run start",
5+
"name": "Start",
76
"request": "launch",
8-
"type": "node-terminal"
7+
"runtimeArgs": ["run", "start"],
8+
"runtimeExecutable": "pnpm",
9+
"skipFiles": ["<node_internals>/**"],
10+
"type": "node",
11+
"console": "integratedTerminal",
12+
"env": {
13+
"BROWSER": "NONE"
14+
},
15+
"serverReadyAction": {
16+
"action": "startDebugging",
17+
"name": "Launch Chrome",
18+
"pattern": "Compiled successfully",
19+
"killOnServerStop": true
20+
}
921
},
1022
{
1123
"name": "Launch Chrome",
1224
"request": "launch",
1325
"type": "chrome",
1426
"url": "http://localhost:3000",
1527
"webRoot": "${workspaceFolder}"
28+
},
29+
{
30+
"name": "Build",
31+
"request": "launch",
32+
"runtimeArgs": ["run", "build"],
33+
"runtimeExecutable": "pnpm",
34+
"skipFiles": ["<node_internals>/**"],
35+
"type": "node",
36+
"console": "integratedTerminal"
1637
}
1738
]
1839
}

0 commit comments

Comments
 (0)