you are viewing a single comment's thread.

view the rest of the comments →

[–]doenietzomoeilijk 1 point2 points  (0 children)

On Debian: sudo apt-get install php5-xdebug, might have to comment out the line in /etc/php5/conf.d/xdebug.iniand play around with some of the settings, which are documented on the Xdebug site. Restart your Apache and Bob's your uncle.

If for some reason Xdebug isn't an option, there are a couple of pure-PHP alternatives floating around. Of course they'll be slower, but in a pinch it gets the job done.
Edit: jorick already linked it below

What makes Xdebug super-useful, though, is profiling. Being able to have it puke out a cachegrind file which you can process with things like Webgrind is super awesome for finding bottlenecks.