我遵循本教程设置了用于调试Zerobrane IDE的开放的
http://notebook.kulchenko.com/zerobrane/debugging-openresty-nginx-lua-scripts-with-zerobrane-studio。
我从brew公式中安装了openresty 1.19.3.1,lua脚本也在工作。
用零位数重复检查所有内容,我得到的错误:
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上拥有的conf,但在linux (ubuntu20.10)上也有相同的错误:
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;;';发布于 2020-12-09 22:21:47
您没有说明您使用的是什么版本的ZeroBrane Studio,但是您需要使用来自存储库中的主分支的最新版本,因为已经有了几个应用于调试器的openresty相关修补程序和最近合并。
https://stackoverflow.com/questions/65224396
复制相似问题