Lua 使用zerobrane调试openresty
我按照本教程进行了调试设置:Lua 使用zerobrane调试openresty,lua,openresty,zerobrane,Lua,Openresty,Zerobrane,我按照本教程进行了调试设置: 我从brew公式安装了openresty 1.19.3.1,lua脚本正在运行 用zerobrane仔细检查了所有东西,我得到的错误是: Debugger server started at vgh.local:8172. Can't start debugging for '/usr/local/Cellar/openresty/1.19.3.1_1/nginx/lua/content.lua'. Compilation error: Debugger conn
我从brew公式安装了openresty 1.19.3.1,lua脚本正在运行 用zerobrane仔细检查了所有东西,我得到的错误是:
Debugger server started at vgh.local:8172.
Can't start debugging for '/usr/local/Cellar/openresty/1.19.3.1_1/nginx/lua/content.lua'. Compilation error:
Debugger connection closed
Debugging session completed (traced 0 instructions).
Refused a request to start a new debugging session as there is one in progress already.
我应该检查什么?
这是我在macos上的配置,但在linux(Ubuntu20.10)上出现了相同的错误:
您不会说您使用的是ZeroBrane Studio的哪个版本,但您需要使用中主分支的最新版本,因为在ok中有几个和。ZeroBrane Studio(1.90;MobDebug 0.706)!谢谢,我将从gh repo下载
lua_package_path '/Applications/ZeroBraneStudio.app/Contents/ZeroBraneStudio/lualibs/?/?.lua;/Applications/ZeroBraneStudio.app/Contents/ZeroBraneStudio/lualibs/?.lua;;';
lua_package_cpath '/Applications/ZeroBraneStudio.app/Contents/ZeroBraneStudio/bin/clibs/?.dylib;;';