首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用zerobrane调试openresty

使用zerobrane调试openresty
EN

Stack Overflow用户
提问于 2020-12-09 20:29:09
回答 1查看 259关注 0票数 1

我遵循本教程设置了用于调试Zerobrane IDE开放的

http://notebook.kulchenko.com/zerobrane/debugging-openresty-nginx-lua-scripts-with-zerobrane-studio

我从brew公式中安装了openresty 1.19.3.1,lua脚本也在工作。

用零位数重复检查所有内容,我得到的错误:

代码语言:javascript
复制
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)上也有相同的错误:

代码语言:javascript
复制
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;;';
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2020-12-09 22:21:47

您没有说明您使用的是什么版本的ZeroBrane Studio,但是您需要使用来自存储库中的主分支的最新版本,因为已经有了几个应用于调试器的openresty相关修补程序最近合并

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/65224396

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档