// A launch configuration that compiles the extension and then opens it inside a new window { "version": "0.2.0", "configurations": [ { "name": "测试", "type": "lua", "request": "launch", "stopOnEntry": false, "program": "${workspaceRoot}/server/test/main.lua", "cwd": "${workspaceRoot}/server", "env": { "PATH": "${workspaceRoot}\\server\\bin\\" }, "luaRuntime": "5.4 32bit", "luaexe": "${workspaceRoot}\\server\\bin\\lua.exe", "luadll": "${workspaceRoot}\\server\\bin\\lua54.dll", "path": "${workspaceRoot}/server/bin/?.lua", "cpath": "${workspaceRoot}/server/bin/?.dll;", "arg": [ ], "consoleCoding": "utf8", "sourceCoding": "utf8" }, { "name": "附加", "type": "lua", "request": "attach", "stopOnEntry": true, "sourceCoding": "utf8", "consoleCoding": "utf8", "ip": "127.0.0.1", "port": 11411 }, { "name": "编译", "type": "lua", "request": "launch", "stopOnEntry": false, "program": "${workspaceRoot}/server/compile.lua", "cwd": "${workspaceRoot}/server", "luaRuntime": "5.4 32bit", "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;", "arg": [ ], "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"] } ] }