// 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.3 32bit", "luaexe": "${workspaceRoot}\\server\\bin\\lua.exe", "luadll": "${workspaceRoot}\\server\\bin\\lua53.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": "localhost", "port": 546858 }, { "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"] } ] }