Debug
Inspect constants, upvalues, prototypes and stack frames.
Available functions
debug.decompileDumps a function's bytecode as hexadecimal text.debug.getconstantReads one function constant.debug.getconstantsReads a function's constants.debug.getinfoInspects a function or stack frame.debug.getprotoAccesses a child function prototype.debug.getprotosLists a function's child prototypes.debug.getstackReads register slots from a live Luau stack frame.debug.getupvalueReads one function upvalue.debug.getupvaluesReads a function's upvalues.debug.infoInspects function and stack metadata.debug.setconstantChanges a function constant.debug.setstackWrites a register slot in a live Luau stack frame.debug.setupvalueChanges a function upvalue.