I am coding inside PHP document that is getting information from AJAX. I am accomplishing something with that information withing pjp document and might want to have the capacity to see mistakes while I am composing code. Since this.php document isn't rendering in the program and in this way I cannot see blunders that I will get in what manner would I be able to effectively observe mistakes,
I know I can do to apache log and possibly endeavor to pull last 10 lines ...something like this...
tail - 10/var/log/apache2/error.log
How would you folks keep your eyes on blunders?