You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a Tarantool Lua Debugger extension allowing one to debug a Tarantool application from the Visual Studio Code. It'd nice to provide similar functionality within this extension.
There is an official Tarantool debugger called tarantool-lua-debugger-vscode for Tarantool 2.x and earlier versions. It is available in the marketplace too.
EmmyLuaDebugger also seems to work rather good with Tarantool. It offers the following features.
Breakpoints.
Step-by-step execution within the fiber.
Multiple files support.
Interacting with the local variables, console at the debug mode.
It's been tested by me in VS Code.
Though it needs a few fixes & hacks within the original implementation to work with Tarantool. I hope I have a chance to provide them later.
It turned out the only problem I came across when tested EmmyLuaDebugger with Tarantool was caused by spurious wake ups. Probably they are specific to ARM64 or whatever. A PR with a fix has been created in the upstream repo: EmmyLua/EmmyLuaDebugger#75.
After discussing this topic with @Totktonada it has been formulated that the debugger utility should be a part of the platform. It should be a TCP server implementing some popular debugging protocol (possibly DAP would be great). Possible interface might be as follows.
Since debugger is a really useful feature it needs an intermediate solution until the final is implemented within the platform. It can be shipped as c++ EmmyLuaDebugger library (either as a part of the VSCode-EmmyLua extension or with a few patches and builtin within the tarantool-vscode).
Activity
georgiy-belyanin commentedon Jun 13, 2025
There is an official Tarantool debugger called tarantool-lua-debugger-vscode for Tarantool 2.x and earlier versions. It is available in the marketplace too.
EmmyLuaDebugger also seems to work rather good with Tarantool. It offers the following features.
It's been tested by me in VS Code.
Though it needs a few fixes & hacks within the original implementation to work with Tarantool. I hope I have a chance to provide them later.
georgiy-belyanin commentedon Jun 14, 2025
It turned out the only problem I came across when tested EmmyLuaDebugger with Tarantool was caused by spurious wake ups. Probably they are specific to ARM64 or whatever. A PR with a fix has been created in the upstream repo: EmmyLua/EmmyLuaDebugger#75.
Add Tarantool debugging facilities
georgiy-belyanin commentedon Jun 20, 2025
After discussing this topic with @Totktonada it has been formulated that the debugger utility should be a part of the platform. It should be a TCP server implementing some popular debugging protocol (possibly DAP would be great). Possible interface might be as follows.
A separate config section can be handy too.
Since debugger is a really useful feature it needs an intermediate solution until the final is implemented within the platform. It can be shipped as c++ EmmyLuaDebugger library (either as a part of the VSCode-EmmyLua extension or with a few patches and builtin within the tarantool-vscode).
Add Tarantool debugging facilities
Add Tarantool debugging facilities