Configure VS Code debug and tasks

This commit is contained in:
Felipe Santos
2022-06-15 21:10:49 +00:00
parent fa27f9dc63
commit 258ed150cd
6 changed files with 61 additions and 21 deletions
+51 -11
View File
@@ -1,12 +1,52 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "start",
"problemMatcher": [],
"label": "npm: start",
"detail": "rollup -c --watch"
}
]
}
"version": "2.0.0",
"tasks": [
{
"label": "Rollup",
"type": "npm",
"script": "start",
"problemMatcher": {
"pattern": [
{
"regexp": ".",
"file": 1,
"location": 2,
"message": 3
}
],
"background": {
"activeOnStart": true,
"beginsPattern": "^bundles",
"endsPattern": "^created"
}
},
"isBackground": true
},
{
"label": "Home Assistant",
"type": "shell",
"command": "container start",
"problemMatcher": {
"pattern": [
{
"regexp": ".",
"file": 1,
"location": 2,
"message": 3
}
],
"background": {
"activeOnStart": true,
"beginsPattern": ".",
"endsPattern": "."
}
},
"isBackground": true
},
{
"label": "Rollup & Home Assistant",
"dependsOn": ["Rollup", "Home Assistant"],
"problemMatcher": []
}
]
}