Skip to content

Commit 30a6e55

Browse files
committed
Improve vscode debug/build setup.
1 parent 4d0b897 commit 30a6e55

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.vscode/launch.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"runtimeExecutable": "${execPath}",
1212
"args": ["--extensionDevelopmentPath=${workspaceFolder}", "--Xdisable-extensions"],
1313
"outFiles": ["${workspaceFolder}/out/**/*.js"],
14-
"sourceMaps": true
14+
"sourceMaps": true,
15+
"preLaunchTask": "npm: watch"
1516
},
1617
{
1718
"name": "Listen for Xdebug",

.vscode/tasks.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88
"kind": "build",
99
"isDefault": true
1010
},
11-
"problemMatcher": [],
11+
"problemMatcher": ["$tsc-watch"],
1212
"label": "npm: watch",
13-
"detail": "tsc -watch -p ./"
13+
"detail": "tsc -watch -p ./",
14+
"isBackground": true
1415
},
1516
{
1617
"type": "npm",

0 commit comments

Comments
 (0)