You can easily debug PHP in Chrome the use of a easy extension called PHP Console. Just install this PHP debugging tool from the Chrome web store save and begin logging errors, warnings, exceptions, and vars unload on your Chrome browser.