languageprovider-sample: fix launch config

This commit is contained in:
Martin Aeschlimann
2017-08-25 09:37:30 +02:00
committed by Dirk Baeumer
parent 66ed164286
commit ed9eb9e640
2 changed files with 26 additions and 13 deletions

View File

@ -11,7 +11,9 @@
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/client/out/**/*.js"],
"outFiles": [
"${workspaceRoot}/client/out/**/*.js"
],
"preLaunchTask": "npm"
},
{
@ -19,10 +21,15 @@
"type": "extensionHost",
"request": "launch",
"runtimeExecutable": "${execPath}",
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/client/out/test" ],
"args": [
"--extensionDevelopmentPath=${workspaceRoot}",
"--extensionTestsPath=${workspaceRoot}/client/out/test"
],
"stopOnEntry": false,
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/client/out/test/**/*.js"],
"outFiles": [
"${workspaceRoot}/client/out/test/**/*.js"
],
"preLaunchTask": "npm"
},
{
@ -31,14 +38,18 @@
"request": "attach",
"port": 6004,
"sourceMaps": true,
"outFiles": ["${workspaceRoot}/server/out/**/*.js"]
"outFiles": [
"${workspaceRoot}/server/out/**/*.js"
]
}
],
"compounds": [
{
"name": "Launch Client & Server",
"configurations": ["Launch Client", "Attach Language Server"]
}
]
{
"name": "Launch Client & Server",
"configurations": [
"Launch Extension",
"Attach Language Server"
]
}
]
}

View File

@ -1,10 +1,12 @@
{
"version": "0.1.0",
"command": "npm",
"isShellCommand": true,
"showOutput": "silent",
"args": ["run", "watch"],
"isWatching": true,
"args": [
"run",
"watch"
],
"isBackground": true,
"problemMatcher": "$tsc-watch"
}