actboy168 / lua-debug

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

I'm trying to write a plugin for a game that uses Lua. #210

Closed maskelihileci closed 1 year ago

maskelihileci commented 1 year ago

There is a game that uses Lua 5.3. The game has functions that are distributed to modders for use. I want to use VSCODE to call and debug these functions within the game, but I have not been able to do so with this extension. Is there a way to do this?

actboy168 commented 1 year ago

If the program has exported lua symbols, then you can manually load the debugger, for example https://github.com/actboy168/lua-debug/tree/master/examples/attach

If it's not exported, you won't be able to debug it.

maskelihileci commented 1 year ago

Thank you for your help.