summaryrefslogtreecommitdiff
path: root/.vscode/launch.json
diff options
context:
space:
mode:
Diffstat (limited to '.vscode/launch.json')
-rw-r--r--.vscode/launch.json54
1 files changed, 10 insertions, 44 deletions
diff --git a/.vscode/launch.json b/.vscode/launch.json
index f6135746..e6f98b3e 100644
--- a/.vscode/launch.json
+++ b/.vscode/launch.json
@@ -36,16 +36,20 @@
"type": "lua",
"request": "launch",
"stopOnEntry": false,
- "program": "${workspaceRoot}/server/compile.lua",
+ "program": "${workspaceRoot}/server/test/main.lua",
"cwd": "${workspaceRoot}/server",
- "luaexe": "${workspaceRoot}/server/bee.lua/make/luamake.exe",
- "luadll": "${workspaceRoot}/server/bee.lua/make/lua54.dll",
- "path": "${workspaceRoot}/server/bee.lua/make/?.lua",
- "cpath": "${workspaceRoot}/server/bee.lua/make/?.dll;",
+ "env": {
+ "PATH": "${workspaceRoot}\\server\\bin\\"
+ },
+ "luaexe": "${workspaceRoot}\\server\\bin\\lua-language-server.exe",
+ "luadll": "${workspaceRoot}\\server\\bin\\lua54.dll",
+ "path": "${workspaceRoot}/server/bin/?.lua",
+ "cpath": "${workspaceRoot}/server/bin/?.dll;",
"arg": [
],
"consoleCoding": "utf8",
- "sourceCoding": "utf8"
+ "sourceCoding": "utf8",
+ "preLaunchTask": "编译"
},
{
"name": "发布",
@@ -62,44 +66,6 @@
],
"consoleCoding": "utf8",
"sourceCoding": "utf8"
- },
- {
- "type": "extensionHost",
- "request": "launch",
- "name": "Launch Client",
- "runtimeExecutable": "${execPath}",
- "args": ["--extensionDevelopmentPath=${workspaceRoot}"],
- "outFiles": ["${workspaceRoot}/client/out/**/*.js"],
- "preLaunchTask": {
- "type": "npm",
- "script": "watch"
- }
- },
- {
- "type": "node",
- "request": "attach",
- "name": "Attach to Server",
- "port": 6009,
- "restart": true,
- "outFiles": ["${workspaceRoot}/server/out/**/*.js"]
- },
- {
- "name": "Language Server E2E Test",
- "type": "extensionHost",
- "request": "launch",
- "runtimeExecutable": "${execPath}",
- "args": [
- "--extensionDevelopmentPath=${workspaceRoot}",
- "--extensionTestsPath=${workspaceRoot}/client/out/test",
- "${workspaceRoot}/client/testFixture"
- ],
- "outFiles": ["${workspaceRoot}/client/out/test/**/*.js"]
- }
- ],
- "compounds": [
- {
- "name": "Client + Server",
- "configurations": ["Launch Client", "Attach to Server"]
}
]
}