Make Lua debugging easier.
Copy ldb.lua to /usr/bin/. Alternatively, if you have Bake installed, you can run bake install to install it.
This works on any operating system that supports Lua(haven't tested this on Windows). Just install it like how you would any other script-based program(hint: shebangs and chmod).
Run ldb [program] where [program] is the Lua script you want to debug.
To get a list of commands, use the help command.