mirror of
https://github.com/danog/code-server.git
synced 2024-12-15 02:37:27 +01:00
be3e823608
git-subtree-dir: lib/vscode git-subtree-split: e5a624b788d92b8d34d1392e4c4d9789406efe8f
77 lines
1.6 KiB
JSON
77 lines
1.6 KiB
JSON
{
|
|
"version": "0.2.0",
|
|
"compounds": [
|
|
{
|
|
"name": "Debug Extension and Language Server",
|
|
"configurations": [
|
|
"Launch Extension",
|
|
"Attach Language Server"
|
|
]
|
|
}
|
|
],
|
|
"configurations": [
|
|
{
|
|
"name": "Launch Extension",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"--extensionDevelopmentPath=${workspaceFolder}"
|
|
],
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outFiles": [
|
|
"${workspaceFolder}/client/out/**/*.js"
|
|
],
|
|
"smartStep": true
|
|
},
|
|
{
|
|
"name": "Launch Tests",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"--extensionDevelopmentPath=${workspaceFolder}",
|
|
"--extensionTestsPath=${workspaceFolder}/client/out/test"
|
|
],
|
|
"stopOnEntry": false,
|
|
"sourceMaps": true,
|
|
"outFiles": [
|
|
"${workspaceFolder}/client/out/test/**/*.js"
|
|
]
|
|
},
|
|
{
|
|
"name": "Attach Language Server",
|
|
"type": "node",
|
|
"request": "attach",
|
|
"protocol": "inspector",
|
|
"port": 6044,
|
|
"sourceMaps": true,
|
|
"outFiles": [
|
|
"${workspaceFolder}/server/out/**/*.js"
|
|
],
|
|
"smartStep": true,
|
|
"restart": true
|
|
},
|
|
{
|
|
"name": "Server Unit Tests",
|
|
"type": "node",
|
|
"request": "launch",
|
|
"program": "${workspaceRoot}/node_modules/mocha/bin/_mocha",
|
|
"stopOnEntry": false,
|
|
"args": [
|
|
"--timeout",
|
|
"999999",
|
|
"--colors"
|
|
],
|
|
"cwd": "${workspaceRoot}",
|
|
"runtimeExecutable": null,
|
|
"runtimeArgs": [],
|
|
"env": {},
|
|
"sourceMaps": true,
|
|
"outFiles": [
|
|
"${workspaceRoot}/server/out/**"
|
|
]
|
|
}
|
|
]
|
|
} |