luars_debugger 0.14.1

Built-in debugger for luars, loaded via require('emmy_core')
Documentation
  • Coverage
  • 32.24%
    69 out of 214 items documented0 out of 72 items with examples
  • Size
  • Source code size: 72.14 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 12.75 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 49s Average build duration of successful builds.
  • all releases: 49s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • CppCXY/lua-rs
    36 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • CppCXY

luars_debugger

luars_debugger is a built-in debugger for luars, loaded via require('emmy_core'). It provides a DAP-compatible debugging interface, allowing IDEs to connect and debug Lua code running on luars. The debugger is implemented in Rust

integrated with luars

add lib to Cargo.toml:

[dependencies]

luars_debugger = "0.14.0"

then add this line to your rust code:

luars_debugger::register_debugger(&mut vm).unwrap();

The remaining steps are the same as for the EmmyLua debugger. See the EmmyLua debugger documentation: https://github.com/EmmyLua/EmmyLuaDebugger

If you need a DAP implementation, you can use: https://github.com/EmmyLuaLs/emmylua_dap