Browse by type
High-performance cross-platform Lua debugger with full debugging features including breakpoints, variable watch, stack trace, and more.
| Platform | Status | Notes |
|---|---|---|
| Windows x64 | ✅ | Fully supported |
| macOS | ✅ | Intel & Apple Silicon |
| Linux | ✅ | any |
| Lua Version | Status | Notes |
|---|---|---|
| Lua 5.1 | ✅ | Fully supported |
| Lua 5.2 | ✅ | Fully supported |
| Lua 5.3 | ✅ | Fully supported |
| Lua 5.4 | ✅ | Fully supported |
| Lua 5.5 | ✅ | Fully supported |
| LuaJIT | ✅ | Fully supported |
git clone https://github.com/EmmyLua/EmmyLuaDebugger.git
cd EmmyLuaDebugger
mkdir build
cd build
cmake .. -DEMMY_LUA_VERSION=54
cmake --build . --config Release
mkdir build
cd build
cmake .. -DEMMY_LUA_VERSION=54 -DCMAKE_BUILD_TYPE=Release
cmake --build . --config Release
-- Load the debugger module
local dbg = require('emmy_core')
-- Start the TCP debug server
dbg.tcpListen('localhost', 9966)
-- Wait for IDE connection
dbg.waitIDE()
-- Set a strong breakpoint here
dbg.breakHere()
-- Your Lua code
print("Hello, EmmyLua Debugger!")
TCP Connect mode, address localhost:9966| Option | Default | Description |
|---|---|---|
EMMY_LUA_VERSION |
55 |
Lua version (51/52/53/54/55/jit) |
EMMY_USE_LUA_SOURCE |
OFF |
Whether to build with Lua source |
# Build for a specific version
cmake .. -DEMMY_LUA_VERSION=55
# Build using Lua source
cmake .. -DEMMY_USE_LUA_SOURCE=ON
Install required build tools:
Install CMake 3.11+
Clone and build the project:
bash
git clone --recursive https://github.com/EmmyLua/EmmyLuaDebugger.git
cd EmmyLuaDebugger
mkdir build && cd build
cmake ..
cmake --build .
⭐ If you find this project helpful, please give us a Star! ⭐
Made with ❤️ by EmmyLua Team
$ claude mcp add EmmyLuaDebugger \
-- python -m otcore.mcp_server <graph>