Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit e08181f

Browse files
author
Bowden Kelly
authored
Merge pull request #7 from Deilan/vscode-task-build
Added `build` `preLaunchTask` for debug configuration
2 parents 817c849 + f65e479 commit e08181f

File tree

2 files changed

+17
-2
lines changed

2 files changed

+17
-2
lines changed

.vscode/launch.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
// Hover to view descriptions of existing attributes.
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55
"version": "0.2.0",
6-
"configurations": [
7-
6+
"configurations": [
87
{
98
"type": "node",
109
"request": "launch",
@@ -14,6 +13,7 @@
1413
"outFiles": [
1514
"../dist/**/*.js"
1615
],
16+
"preLaunchTask": "build",
1717
"protocol": "inspector"
1818
}
1919
]

.vscode/tasks.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=733558
3+
// for the documentation about the tasks.json format
4+
"version": "0.1.0",
5+
"command": "npm",
6+
"isShellCommand": true,
7+
"showOutput": "always",
8+
"suppressTaskName": true,
9+
"tasks": [
10+
{
11+
"taskName": "build",
12+
"args": ["run", "build"]
13+
}
14+
]
15+
}

0 commit comments

Comments
 (0)