WordPress Tutorial – Local Development with MAMP

Posted on: February 3rd, 2012

The code for your wonderful debugging. It will create a debug.log file inside /wp-content

/**
 * For developers: WordPress debugging mode.
 *
 * Change this to true to enable the display of notices during development.
 * It is strongly recommended that plugin and theme developers use WP_DEBUG
 * in their development environments.
 */
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors', 0);

/* That's all, stop editing! Happy blogging. */

Enjoy!

Tags: ,

previous post: Helpful HTML Links next post: WordPress Tutorial – Fixing the Sharebar