mirror of
https://github.com/tweag/nickel.git
synced 2024-09-11 11:47:03 +03:00
43 lines
1.1 KiB
JSON
43 lines
1.1 KiB
JSON
// A launch configuration that compiles the extension and then opens it inside a new window
|
|
{
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"name": "Launch Client",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": ["--extensionDevelopmentPath=${workspaceRoot}/lsp/client-extension"],
|
|
"outFiles": ["${workspaceRoot}/lsp/client-extension/out/**/*.js"],
|
|
"preLaunchTask": "make server",
|
|
"localRoot": "${workspaceFolder}/lsp/client-extension"
|
|
},
|
|
{
|
|
"name": "Language Server E2E Test",
|
|
"type": "extensionHost",
|
|
"request": "launch",
|
|
"runtimeExecutable": "${execPath}",
|
|
"args": [
|
|
"--extensionDevelopmentPath=${workspaceRoot}",
|
|
"--extensionTestsPath=${workspaceRoot}/client/out/test/index",
|
|
"${workspaceRoot}/client/testFixture"
|
|
],
|
|
"outFiles": ["${workspaceRoot}/client/out/test/**/*.js"]
|
|
},
|
|
|
|
{
|
|
"type": "lldb",
|
|
"request": "attach",
|
|
"name": "Attach to Server",
|
|
"program": "${workspaceFolder}/target/debug/nls"
|
|
}
|
|
|
|
],
|
|
"compounds": [
|
|
{
|
|
"name": "Client + Server",
|
|
"configurations": ["Launch Client", "Attach to Server"]
|
|
}
|
|
]
|
|
}
|