add .vscode

master
Brad Cornes 2020-06-11 16:53:12 +01:00
parent 258fc59ec6
commit ae52d3b55e
2 changed files with 66 additions and 0 deletions

37
.vscode/launch.json vendored 100755
View File

@ -0,0 +1,37 @@
{
"version": "0.2.0",
// List of configurations. Add new configurations or edit existing ones.
"configurations": [
{
"type": "extensionHost",
"request": "launch",
"name": "Launch Client",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}"],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/dist/extension/**/*.js"],
// "preLaunchTask": "npm: dev"
},
{
"type": "node",
"request": "attach",
"name": "Attach to Server 6011",
"address": "localhost",
"protocol": "inspector",
"port": 6011,
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/dist/server/**/*.js"]
},
{
"type": "node",
"request": "attach",
"name": "Attach to Server 6012",
"address": "localhost",
"protocol": "inspector",
"port": 6012,
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/dist/server/**/*.js"]
}
]
}

29
.vscode/tasks.json vendored 100755
View File

@ -0,0 +1,29 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "build",
"group": "build",
"presentation": {
"panel": "dedicated",
"reveal": "never"
},
"problemMatcher": ["$tsc"]
},
{
"type": "npm",
"script": "dev",
"isBackground": true,
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"panel": "dedicated",
"reveal": "never"
},
"problemMatcher": ["$tsc-watch"]
}
]
}