Skip to content

Commit 2310ebd

Browse files
authored
chore: fix vsce debugging (#198)
1 parent 3c25e12 commit 2310ebd

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

.vscode/launch.template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"autoAttachChildProcesses": true,
1313
"outFiles": [
14-
"${workspaceFolder}/packages/vscode-extension/out/**/*.js"
14+
"${workspaceFolder}/packages/vscode-extension/dist/**/*.js"
1515
],
1616
"preLaunchTask": "npm: watch - packages/vscode-extension"
1717
}

.vscode/tasks.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,20 @@
66
"script": "watch",
77
"path": "packages/vscode-extension",
88
"group": "build",
9-
"problemMatcher": [
10-
"$tsc-watch"
11-
],
9+
"problemMatcher": {
10+
"base": "$tsc-watch",
11+
"background": {
12+
"beginsPattern": {
13+
"regexp": "^start rebuild$"
14+
},
15+
"endsPattern": {
16+
"regexp": "^rebuild done$"
17+
}
18+
}
19+
},
1220
"label": "npm: watch - packages/vscode-extension",
13-
"isBackground": true
21+
"isBackground": true,
22+
1423
}
1524
]
1625
}

0 commit comments

Comments
 (0)