Skip to content

Commit 1edf591

Browse files
authored
chore(vsc-debug): 增加 visual-studio-code 的 debug 启动文件 (Chanzhaoyu#296)
1 parent 60fd2ae commit 1edf591

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.vscode/launch.json

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"type": "chrome",
9+
"request": "launch",
10+
"name": "Launch Web App",
11+
"url": "http://localhost:1002",
12+
"webRoot": "${workspaceFolder}"
13+
},
14+
{
15+
"type": "node",
16+
"request": "launch",
17+
"name": "Launch Service Server",
18+
"runtimeExecutable": "${workspaceFolder}/service/node_modules/.bin/esno",
19+
"skipFiles": ["<node_internals>/**"],
20+
"program": "${workspaceFolder}/service/src/index.ts",
21+
"outFiles": ["${workspaceFolder}/service/**/*.js"],
22+
"envFile": "${workspaceFolder}/service/.env"
23+
}
24+
]
25+
}

0 commit comments

Comments
 (0)