The best way to debug sites and test mods, templates etc., is to install XAMPP on your home computer. This provides a method of operating a local host including all the bells and whistles (apache , myqql, phpmyadmin all latest versions).
Download and install XAMPP (Win/Linux version), follow the install instructions and you are off to the racesà¢Ãƒ ¢Ã¢â‚¬Å¡Ã‚ ¬Ãƒâ€šÃ‚ ¦
Windows Link: http://www.apachefriends.org/download.p ... taller.exe
Linux Link: http://www.apachefriends.org/en/xampp-linux.html
Check the pages for install instructions