Skip to content

Commit a0c5f14

Browse files
committed
add ts debug task
1 parent 5e3cbb0 commit a0c5f14

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

.vscode/launch.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,27 @@
88
"runtimeExecutable": "${execPath}",
99
"args": [
1010
"--extensionDevelopmentPath=${workspaceRoot}/out",
11+
// "--disable-extensions"
12+
],
13+
"outFiles": [
14+
"${workspaceFolder}/out/**/*.js"
1115
],
12-
// "outFiles": [
13-
// "${workspaceFolder}/"
14-
// ],
1516
"sourceMaps": true,
1617
"env": {
1718
"TSS_DEBUG": "9229",
1819
"TSS_REMOTE_DEBUG": "9229"
1920
}
2021
},
22+
{
23+
"name": "Attach to TS Server",
24+
"type": "node",
25+
"request": "attach",
26+
"protocol": "inspector",
27+
"port": 9229,
28+
"sourceMaps": true,
29+
"outFiles": [
30+
"${workspaceFolder}/out/**/*.js"
31+
],
32+
}
2133
]
2234
}

0 commit comments

Comments
 (0)