My debug output is the typical:
Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /Applications/XAMPP/xamppfiles/htdocs/_experiment_islandslimited/includes/commonConfig.php on line 60
Could not connect: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
But if I load that file in the browser via localhost it all works fine. I've been trying to debug with eclipse for over 6 months now and have had zero success with any code that relies on a mysql database.
Also I just got xdebug installed into my php but I can't get it to show up as a debugger option in eclipse (Zend Studio for Eclipse actually).