Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/ant/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Lua 使用zerobrane调试openresty_Lua_Openresty_Zerobrane - Fatal编程技术网

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;;';