| Debug.cheat (callback) | Executes the given callback if cheating is enabled. |
| Debug.get_meta_value (object, key) | Returns the value of the key inside the object or 'InvalidLuaObject' if the LuaObject is invalid. |
| Debug.is_closure (func) | Returns true if the function is a closure, false otherwise. |
| Debug.object_type (object) | Returns the Lua data type or the factorio LuaObject type or 'NoHelpLuaObject' if the LuaObject does not have a help function or 'InvalidLuaObject' if the LuaObject is invalid. |
| Debug.print (message, stack_traceback) | Shows the given message if debug is enabled. |
| Debug.print_position (position, message) | Shows the given message if debug is on. |
Executes the given callback if cheating is enabled.
Parameters:Returns the value of the key inside the object or 'InvalidLuaObject' if the LuaObject is invalid.
or 'InvalidLuaObjectKey' if the LuaObject does not have an entry at that key
Parameters: