Jump to main content Jump to doc navigation

ui_debug_mode

Name: UI Debug Mode Type: Yes/No Default: No Available In: Revolution 2.1+

Not installed by default. MODX does not ship a ui_debug_mode system setting: the key is absent from the install transport in both 2.x and 3.x, although the lexicon entry and the client-side check still exist. MODx.debug(msg) in manager/assets/modext/core/modx.js only writes to console.log() when MODx.config.ui_debug_mode == 1. The switch stays off unless you create the setting yourself: System → System Settings → Create new setting, key ui_debug_mode, type Yes/No.

When enabled, all calls to MODx.debug(msg) are written to the browser console. This is useful for debugging Custom Manager Pages and other custom code without breaking a production site.

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.

Backers

  • modmore
  • STERC
  • Digital Penguin
  • Jens Wittmann – Gestaltung & Entwicklung
  • CrewMark
  • Fabian Christen
  • Sepia River Studios
  • Dannevang Digital
  • A. Moreno
  • Alex
  • Chris Fickling
  • Stéphane Jäggi
  • YJ
  • Murray Wood
  • JT Skaggs
  • Anton Tarasov
  • deJaya
  • Lefthandmedia
  • eydolan
  • Following Sea
  • Guido Gallenkamp
  • Raffy
  • Snow Creative
  • Nick Clark
  • Guest
  • Helen
  • krisznet
  • Yanni
  • Richard

Budget

$186 per month—let's make that $500!

Learn more