Skip to content

Remote debugging? #180

@iandol

Description

@iandol

@CppCXY recommended I open a new issue from LuaLS/lua-language-server#2951

In Zerobrane Studio Mobdebug works really well and is easy to setup (luarocks install mobdebug and turn remote server on in GUI, add these to script md=require("mobdebug") and then md.start()). I've previously used VSCode-Mobdebug, but it is not actively developed and is not stable. I've tried LuaHelper with LuaPanda but prefer to LuaLS.

How can I setup remote debugging. I added the EmmyLua debug configurations, and also require("emmy_core") in my target lua script. But running "emmylua new Debug" I get this error:

image

The other debug config "Attach by Program" does not seem to support remote debugging?

My require("emmy_core") also fails, what is the procedure to install it?

macOS M2, latest VS Code, lua 5.4.7 and luarocks installed using homebrew

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions