XAMPP-VM Mac OS Mojave wordpress debugging using XDebug

After days of struggle to enable debugging, I switched to MAMP free version which was a cakewalk. For Step by step guide please follow this blog by Josh Buchea. Has a detailed walkthrough. Hope this helps someone stuck on Mac with Xampp-VM like i did. Switch to MAMP free version. Happy coding WordPress PHP

WordPress not writing error.log

You said you added the code in front of the file. In the wp-config.php I’m working with there’s this line towards the end: define(‘WP_DEBUG’, false); if your config file sets it to true first and then to false the problem could be that the last entry wins.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)