A debugger for Luau with debug adapter protocol(DAP) support.
└── luau_debugger
|
├── debugger # Debugger implementation, include a DAP server and
| # a debugger implemented with luau internal debug
| # api directly without hooking
|
├── luaud # A minimal Luau executable with debug support
├── extensions # VSCode extension for Luau debugger
└── tests # Test lua scripts
- luau
- cppdap
- C++ DAP(Debug Adapter Protocol) library, help to simplify the implementation of a DAP server
- Clone
cppdap
andluau
repository to local - Set
CPP_DAP_ROOT
andLUAU_ROOT
inCMakePresets.json
- Build using CMake Presets by CLI
cmake -S . -B build --preset <configure preset>
cmake --build --preset <build preset>
- Or use other IDE such as VSCode or Visual Studio
See features
- To avoid debug info to be stripped by luau compiler,
Luau::CompileOptions::debugLevel
should be set to2