1
0
mirror of https://github.com/microsoft/TypeScript-Node-Starter.git synced 2025-11-08 16:17:37 +00:00

Added build preLaunchTask for debug configuration

This commit is contained in:
Deilan
2017-06-06 01:42:59 +03:00
parent abc36e167e
commit 61084c4650
2 changed files with 17 additions and 2 deletions

4
.vscode/launch.json vendored
View File

@@ -3,8 +3,7 @@
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
"configurations": [
{
"type": "node",
"request": "launch",
@@ -14,6 +13,7 @@
"outFiles": [
"../dist/**/*.js"
],
"preLaunchTask": "build",
"protocol": "inspector"
}
]

15
.vscode/tasks.json vendored Normal file
View File

@@ -0,0 +1,15 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"command": "npm",
"isShellCommand": true,
"showOutput": "always",
"suppressTaskName": true,
"tasks": [
{
"taskName": "build",
"args": ["run", "build"]
}
]
}