actboy168 / lua-debug

Lua Debug Adapter for Visual Studio Code
MIT License
437 stars 95 forks source link

mac attach 模式无响应 #125

Closed cloudfreexiao closed 3 years ago

cloudfreexiao commented 3 years ago

根据如下issue 尝试在 mac 系统下 attach 模式 调试 最新 skynet 发现没有任何响应 https://github.com/actboy168/lua-debug/issues/113 https://github.com/actboy168/lua-debug/issues/112

配置如下

    "configurations": [
        {
            "name": "skynet",
            "type": "lua",
            "request": "attach",
            "stopOnEntry": true,
            "processId": "10144",
        }
    ]

运行 命令

 ./skynet examples/config

启动 服务

testdeadloop 

请问一下 我的配置哪里有问题呢

actboy168 commented 3 years ago

processId只支持windows。

配置可以参考 https://github.com/actboy168/lua-debug/tree/master/examples/attach

cloudfreexiao commented 3 years ago

试了下 能用了 谢谢!