Skip to content
Kit edited this page Jun 14, 2015 · 2 revisions

###Description

WP-Librarian uses the constant WP_LIB_DEBUG_MODE to differentiate between development/debugging and production environments. When debugging mode is enabled WP-Librarian will:

  • Serve un-minified assets (this does not stop any WordPress asset minification)
  • Display more detailed information in the browser console
  • Append Dashboard pages with the server response if it fails to be parsed
  • Display 'DEBUGGING MODE ON' in the top right of the page on certain pages

###Enabling/Disabling Debugging Mode

To enable debugging mode open wp-librarian.php in WP-Librarian's root directory and edit the constant WP_LIB_DEBUG_MODE so that false is changed to true like below:

define('WP_LIB_DEBUG_MODE', true);

To disable debugging mode you need only modify the same line of code, replacing true with false.

Clone this wiki locally