File tree 1 file changed +24
-3
lines changed
1 file changed +24
-3
lines changed Original file line number Diff line number Diff line change 2
2
"version" : " 0.2.0" ,
3
3
"configurations" : [
4
4
{
5
- "name" : " pnpm start" ,
6
- "command" : " pnpm run start" ,
5
+ "name" : " Start" ,
7
6
"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
+ }
9
21
},
10
22
{
11
23
"name" : " Launch Chrome" ,
12
24
"request" : " launch" ,
13
25
"type" : " chrome" ,
14
26
"url" : " http://localhost:3000" ,
15
27
"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"
16
37
}
17
38
]
18
39
}
You can’t perform that action at this time.
0 commit comments