Skip to content

Commit 297475a

Browse files
committed
win debug
1 parent 2477f90 commit 297475a

File tree

2 files changed

+57
-1
lines changed

2 files changed

+57
-1
lines changed

.vscode/launch.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,25 @@
4343
"${workspaceRoot}/out/test/**/*.js"
4444
],
4545
"preLaunchTask": "npm"
46-
}
46+
},
47+
{
48+
"name": "windows_master",
49+
// "type": "extensionHost",
50+
"type": "extensionHost",
51+
"request": "launch",
52+
"runtimeExecutable": "${execPath}",
53+
"args": [
54+
"--extensionDevelopmentPath=${workspaceRoot}",
55+
"--trace-warnings"
56+
],
57+
// "autoAttachChildProcesses": true,
58+
// "stopOnEntry": false,
59+
"sourceMaps": true,
60+
"outFiles": [
61+
"${workspaceRoot}/out/src/**/*.js"
62+
],
63+
"trace": true,
64+
"preLaunchTask": "window_npm"
65+
},
4766
]
4867
}

.vscode/tasks.json

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,43 @@
88
"npm_do"
99
]
1010
},
11+
{
12+
"label": "window_npm",
13+
"dependsOn": [
14+
"window_npm_rm",
15+
"window_npm_do"
16+
]
17+
},
18+
{
19+
"label": "window_npm_rm",
20+
"type": "shell",
21+
"command": "Remove-item",
22+
"args": [
23+
"out",
24+
"-recurse"
25+
],
26+
// "isBackground": true,
27+
},
28+
{
29+
"label": "window_npm_do",
30+
"type": "shell",
31+
"command": "npm",
32+
"group": {
33+
"kind": "build",
34+
"isDefault": true
35+
},
36+
"args": [
37+
"run",
38+
"compile",
39+
"--loglevel",
40+
"silent"
41+
],
42+
"isBackground": true,
43+
"presentation": {
44+
"reveal": "silent"
45+
},
46+
"problemMatcher": "$tsc-watch"
47+
},
1148
{
1249
"label": "npm_rm",
1350
"type": "shell",

0 commit comments

Comments
 (0)