mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
languageprovider-sample: fix launch config
This commit is contained in:
committed by
Dirk Baeumer
parent
66ed164286
commit
ed9eb9e640
31
languageprovider-sample/.vscode/launch.json
vendored
31
languageprovider-sample/.vscode/launch.json
vendored
@ -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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
8
languageprovider-sample/.vscode/tasks.json
vendored
8
languageprovider-sample/.vscode/tasks.json
vendored
@ -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"
|
||||
}
|
||||
Reference in New Issue
Block a user