Skip to content

Commit 59b5443

Browse files
committed
Add vscode launch config
1 parent 3b551c8 commit 59b5443

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

.vscode/launch.json

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Run Extension",
6+
"type": "extensionHost",
7+
"request": "launch",
8+
"args": [
9+
"--extensionDevelopmentPath=${workspaceFolder}/extension"
10+
],
11+
"sourceMaps": true,
12+
"outFiles": [
13+
"${workspaceFolder}/extension/out/**/*.js"
14+
],
15+
"resolveSourceMapLocations": [
16+
"${workspaceFolder}/extension/out/**/*.js",
17+
"!**/node_modules/**"
18+
],
19+
"preLaunchTask": "extension: build"
20+
}
21+
]
22+
}

.vscode/tasks.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "extension: build",
6+
"type": "shell",
7+
"command": "npm",
8+
"args": [
9+
"--prefix",
10+
"${workspaceFolder}/extension",
11+
"run",
12+
"build"
13+
],
14+
"problemMatcher": []
15+
}
16+
]
17+
}

0 commit comments

Comments
 (0)