For the complete documentation index, see llms.txt. This page is also available as Markdown.

Debug Console

/housing_console opens a three-lane debug console for diagnosing live issues without restarting the resource.

๐Ÿ”Œ Enable

Config.DebugConsole = {
    Enabled           = false,
    AllowedIdentifiers = {
        -- 'license:...',
    },
    FlushIntervalMs = 100,
    BatchSize       = 25,
    RingBufferSize  = 2000,
}
Option
Description

Enabled

Master switch.

AllowedIdentifiers

License/Steam identifiers allowed to open the console. Empty list = ACE housing.debug only.

FlushIntervalMs

How often (ms) the server flushes new log entries to clients.

BatchSize

Max log entries per network batch.

RingBufferSize

Max in-memory ring-buffer entries per lane.

๐Ÿงช React / NUI Logging

Config.DebugFrontend = true turns on structured logging from the React UI - button clicks, fetchNui calls, action handlers. Use this when chasing "the button does nothing" reports without rebuilding the JS bundle.

๐Ÿงฐ Lanes

The console shows three independent log lanes:

Lane
Purpose

Server

Server-side debug streams.

Client

Client-side debug streams (current player).

NUI

React/NUI debug streams from Config.DebugFrontend.

Each lane has its own filter, pause, and ring buffer.

๐Ÿ”‘ ACE Permission

Add this line to your ACE config to grant console access by group:

Players with housing.debug can open the console even when they're not in AllowedIdentifiers.

Last updated