Skip to content

Commit 2c908be

Browse files
committed
Update launch and task configuration for vscode
1 parent 43950fe commit 2c908be

File tree

2 files changed

+19
-37
lines changed

2 files changed

+19
-37
lines changed

Diff for: .vscode/launch.json

+6-12
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,13 @@
88
"request": "launch",
99
"runtimeExecutable": "${execPath}",
1010
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "${workspaceFolder}/testfiles"],
11-
"stopOnEntry": false,
1211
"sourceMaps": true,
13-
"outFiles": ["${workspaceRoot}/dist/**/*.js"]
14-
},
15-
{
16-
"name": "Attach to Server",
17-
"type": "node",
18-
"request": "attach",
19-
"port": 6004,
20-
"sourceMaps": true,
21-
"address": "localhost",
22-
"protocol": "inspector",
23-
"outFiles": ["${workspaceRoot}/dist/**/*.js"]
12+
"outFiles": ["${workspaceRoot}/dist/**/*.js", "${workspaceRoot}/dist/**/*.js.map"],
13+
"autoAttachChildProcesses": true,
14+
"preLaunchTask": {
15+
"type": "npm",
16+
"script": "watch"
17+
}
2418
}
2519
]
2620
}

Diff for: .vscode/tasks.json

+13-25
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,18 @@
33
// for the documentation about the tasks.json format
44
"version": "2.0.0",
55
"tasks": [
6-
{
7-
"type": "npm",
8-
"script": "webpack-dev",
9-
"isBackground": true,
10-
"group": {
11-
"kind": "build",
12-
"isDefault": true
13-
},
14-
"presentation": {
15-
"reveal": "never",
16-
"panel": "dedicated"
17-
},
18-
"problemMatcher": ["$tsc-watch"]
19-
},
20-
{
21-
"type": "npm",
22-
"script": "webpack",
23-
"isBackground": false,
24-
"group": "build",
25-
"presentation": {
26-
"reveal": "never",
27-
"panel": "dedicated"
28-
},
29-
"problemMatcher": ["$tsc"]
30-
}
6+
{
7+
"type": "npm",
8+
"script": "watch",
9+
"isBackground": true,
10+
"group": {
11+
"kind": "build",
12+
"isDefault": true
13+
},
14+
"presentation": {
15+
"panel": "dedicated",
16+
"reveal": "never"
17+
}
18+
}
3119
]
3220
}

0 commit comments

Comments
 (0)