Using Xdebug with NetBeans 7
Submitted by Easton on Thu, 05/03/2012 - 22:06
There comes a time where it's unacceptable or inconvenient to stash var_dump() into your code. And then there's Xdebug. Xdebug makes it easy to debug your PHP application and with the intergration of NetBeans, it's even easier.
For the record, I'm using Debian 6.0.4 on my workstation and Debian Wheezy/Sid on my dev server.
First of all, lets install Xdebug on the server:
pecl install xdebug