Skip to content

Inquiry about EmmyLua Debugger Behavior After Clicking "Stop" in Cursor Editor #293

@chengxuyuanYYS

Description

@chengxuyuanYYS

ello,
I'm using the EmmyLua plugin in the Cursor editor. I've noticed that when I start a debugging session and later click the "Stop EmmyLua" button at the bottom of the editor, the debugger doesn't seem to fully disconnect. I can still use the "Run and Debug" feature to debug my Lua code without restarting the application.
Could you explain the underlying mechanism behind this behavior? Specifically:
Why does the debug session remain active after clicking "Stop"?
Does this indicate that the debug hooks (e.g., debug.sethook) or the socket connection to the Lua process are not fully terminated?
Is this by design, and if so, what is the intended workflow for completely stopping a debug session?
Thank you for your insight

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