WordPress Tutorial – Local Development with MAMP
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!
Good tips for debugging. All your tips rock! Your Dreamhost fix worked out great for us too. Needed it for QuickDeploy with DesktopServer (http://serverpress.com/products/desktopserver), now designing WordPress sites and deploying to Dreamhost is a snap! Thank you!
Glad you found it useful! I know when I first started developing anything in WordPress, the debug.log was my best friend.
[…] far. The problem was I needed a LAMP-like stack to run WordPress locally, which I’ve covered previously for Macs. This story is about the wampserver orange symbol of […]
well done on every axis. thanks. 🙂
[…] a quick look at my debug file (generated by using this debug code) I saw […]