Skip to content

Commit

Permalink
feat: Add launch json for vscode dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Glyphack committed May 3, 2024
1 parent 8dc2c21 commit 425e62a
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
// 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}/client/vscode/"
],
"outFiles": [
"${workspaceRoot}/out/**/*.js",
],
"env": {
"SERVER_PATH": "${workspaceRoot}/target/debug/enderpy-lsp"
},
"cwd": "${workspaceFolder}/client/vscode",
"autoAttachChildProcesses": true,
"preLaunchTask": {
"type": "npm",
"script": "watch"
}
},
{
"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"
]
}
]
}

0 comments on commit 425e62a

Please sign in to comment.