๐ midway ่ฐ่ฏ
vscode ้ๆฉ โ่ฟ่กๅ่ฐ่ฏโ

็ถๅ create a launch.json file
{
// ไฝฟ็จ IntelliSense ไบ่งฃ็ธๅ
ณๅฑๆงใ
// ๆฌๅไปฅๆฅ็็ฐๆๅฑๆง็ๆ่ฟฐใ
// ๆฌฒไบ่งฃๆดๅคไฟกๆฏ๏ผ่ฏท่ฎฟ้ฎ: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [{
"name": "Midway Local",
"type": "node",
"request": "launch",
"cwd": "${workspaceRoot}",
"runtimeExecutable": "npm",
"windows": {
"runtimeExecutable": "npm.cmd"
},
"runtimeArgs": [
"run",
"dev"
],
"env": {
"NODE_ENV": "local"
},
"console": "integratedTerminal",
"protocol": "auto",
"restart": true,
"port": 7001,
"autoAttachChildProcesses": true
}]
}
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28