The WebApp Wizard Web development made magical


Zend Debugger configuration

One of the great things about Zend Studio is the integration of powerful tools like the Zend Debugger or the Profiler. But, in order to take full advantage of the IDE, there is some configuration to do.

Zend Debugger will allow you not only to debug your PHP code, of course, but will also allow you to profile your code. Profiling consists of measuring the time spent in each portion of your code. That means you will be able to know that you spend 200 milliseconds in function a(), then 700 milliseconds in function b(), then 32 milliseconds in function c(). You will also know that you didn't spend any time in function d(). Yes, you will be able to see which portions of your code are unused. And that's pretty cool.