debug library - SquidDev-CC/CCTweaks-Lua GitHub Wiki
The debug library aids debugging of code, allowing tracing method calls and getting locals and upvalues.
Warning: Do not enable the debug API unless you trust everyone who will be using your server. It potentially allows modifying other computers as well as escaping the computer timeout. If you really want to enable it, look into enabling the Cobalt VM too.
Configuration
The debug library can be enabled through the APIs.debug option.
Documentation
The documentation for the debug library can be found on the Lua website.