Install Pimp My Log with MAMP Pro (for use with WordPress development)
Enable PHP logging in MAMP Pro, under the PHP settings (screenshot)
Inside your MAMP
Sitesdirectory (or equivalent), create a new directory
Create a new host, such as
phplog.local, in MAMP for easy access (screenshot)
Open terminal or iTerm, navigate to this new directory
git clone https://github.com/potsky/PimpMyLog.git .
In your browser, go to the host URL (eg
http://phplog.local); Proceed to configuration wizard (screenshot)
Since this is for local development, you can skip setting up an admin account (click "No")
Enable the PHP error log, which should be checked by default (screenshot)
Complete the Wizard
Optionally, you can enable browser notifications [recommended] (screenshot)
In your WordPress installation(s), if you are using
wp-config.php) remove these items; If these are defined WordPress will write the errors to
wp-contentinstead of writing to the global PHP error log
Pour yourself a whiskey drink and enjoy easy access to your PHP logs!
Note: There seems to be a bug in Firefox 57 that causes very high CPU usage if you decline browser notifications; Enabling notifications or using Chrome/Safari resolves the issue
andword) is the best part of the whole tutorial. Sorry, @jaredatch.