Skip to content

Commit ae52d3b

Browse files
committed
add .vscode
1 parent 258fc59 commit ae52d3b

File tree

2 files changed

+66
-0
lines changed

2 files changed

+66
-0
lines changed

.vscode/launch.json

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
{
2+
"version": "0.2.0",
3+
// List of configurations. Add new configurations or edit existing ones.
4+
"configurations": [
5+
{
6+
"type": "extensionHost",
7+
"request": "launch",
8+
"name": "Launch Client",
9+
"runtimeExecutable": "${execPath}",
10+
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
11+
"stopOnEntry": false,
12+
"sourceMaps": true,
13+
"outFiles": ["${workspaceRoot}/dist/extension/**/*.js"],
14+
// "preLaunchTask": "npm: dev"
15+
},
16+
{
17+
"type": "node",
18+
"request": "attach",
19+
"name": "Attach to Server 6011",
20+
"address": "localhost",
21+
"protocol": "inspector",
22+
"port": 6011,
23+
"sourceMaps": true,
24+
"outFiles": ["${workspaceRoot}/dist/server/**/*.js"]
25+
},
26+
{
27+
"type": "node",
28+
"request": "attach",
29+
"name": "Attach to Server 6012",
30+
"address": "localhost",
31+
"protocol": "inspector",
32+
"port": 6012,
33+
"sourceMaps": true,
34+
"outFiles": ["${workspaceRoot}/dist/server/**/*.js"]
35+
}
36+
]
37+
}

.vscode/tasks.json

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"type": "npm",
6+
"script": "build",
7+
"group": "build",
8+
"presentation": {
9+
"panel": "dedicated",
10+
"reveal": "never"
11+
},
12+
"problemMatcher": ["$tsc"]
13+
},
14+
{
15+
"type": "npm",
16+
"script": "dev",
17+
"isBackground": true,
18+
"group": {
19+
"kind": "build",
20+
"isDefault": true
21+
},
22+
"presentation": {
23+
"panel": "dedicated",
24+
"reveal": "never"
25+
},
26+
"problemMatcher": ["$tsc-watch"]
27+
}
28+
]
29+
}

0 commit comments

Comments
 (0)