Jump to main content Jump to doc navigation

ui_debug_mode

Name: UI Debug Mode Type: Yes/No Default: No

(2.1+ only)

When enabled, all calls to the JS function MODx.debug(msg) will be outputted with console.log(). This is useful for debugging Custom Manager Pages and other custom code without breaking a production site, as it will suppress logging should this setting be set to No.