Skip to content
Debug libraryOverview

debug.getregistry

Provides the debug registry entry point.

Details#

Returns the current state's live registry table. This is shared runtime state, not a list of local variables or a serializable backup.

Examples#

Example

Luau
print(type(debug.getregistry())) -- table