-
Notifications
You must be signed in to change notification settings - Fork 103
为何不能远程调试了
#327
源代码中插入代码:
require("luadebug/script/debugger"):start("127.0.0.1:4278"):event("wait")
程序启动后,telnet能连上4278端口
launch配置为:
"name": "Lua debugger UI",
"type": "lua",
"request": "attach",
"address": "127.0.0.1:4278",
//"address": "@/luadebug/debug.sock",
"stopOnEntry": true,
F5启动后1-2秒就退出,调试控制台没任何信息输出,被调试程序也没反应,依然处于等待状态。换成unix通信,现象同样。
不知漏了步骤没,以前centos7上成功过,现在系统是debian12,vscode保持最新
All reactions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment