extended tasks.json and fixed launch.json

This commit is contained in:
Daniel Sommer 2022-02-01 11:44:23 +01:00
parent 7b33b35315
commit 0dcbaad8a9
2 changed files with 34 additions and 1 deletions

18
.vscode/launch.json vendored Normal file
View file

@ -0,0 +1,18 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "chromium: tabber",
"url": "http://localhost:9000",
"webRoot": "${workspaceFolder}/src",
"breakOnLoad": true,
"sourceMapPathOverrides": {
"webpack:///src/*": "${webRoot}/*"
},
"preLaunchTask": "serve",
"postDebugTask": "terminate all tasks"
}
]
}

17
.vscode/tasks.json vendored
View file

@ -16,7 +16,22 @@
"args": [
"run",
"serve"
]
],
"isBackground": true
},
{
"label": "terminate all tasks",
"command": "echo ${input:terminate}",
"type": "shell",
"problemMatcher": []
}
],
"inputs": [
{
"id": "terminate",
"type": "command",
"command": "workbench.action.tasks.terminate",
"args": "terminateAll"
}
]
}