extended tasks.json and fixed launch.json
This commit is contained in:
parent
7b33b35315
commit
0dcbaad8a9
2 changed files with 34 additions and 1 deletions
18
.vscode/launch.json
vendored
Normal file
18
.vscode/launch.json
vendored
Normal 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
17
.vscode/tasks.json
vendored
|
@ -16,7 +16,22 @@
|
||||||
"args": [
|
"args": [
|
||||||
"run",
|
"run",
|
||||||
"serve"
|
"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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Reference in a new issue