I've a php file calling another php file which sometimes calls another php file to execute some actions (all through ajax).

What I use to do was to echo at different points to know upto where the codes are executing properly. But with this approach, I can keep echo-ing.

So how do I know upto where my code is executing?? Is there a tool for Google Chrome browser to detect it??