mirror of https://github.com/coder/code-server.git
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/**"
|
||
|
]
|
||
|
}
|
||
|
]
|
||
|
}
|