如何设置远程调试?
My lua code is running in wsl, and using c to embed lua, how do I debug these lua code?
我的vscode是在windowns下运行的,而我的lua代码是在wsl或远程linux中运行的,使用的都是.so的库,在调试lua代码时,能不能使用远程调试? 能不能提供个远程调试的示例?
https://code.visualstudio.com/docs/remote/wsl
我尝试使用remote-wsl 和 remote-ssh, 调试lua,在设置好,F5启动调试,发现调试器闪退了。
不启用remote调试,在本机可以调试。
以下是截图

缺少什么函数呢?我可以去安装。
跟新到最新,使用wsl调试,还是会出现闪退,无法调试。
你可以尝试自己编译
@actboy168 通过多次验证基本可以确定该插件不支持vscode的remote-ssh功能,作者可以参考下支持远程开发的文档:https://code.visualstudio.com/api/advanced-topics/remote-extensions
