I have tried to use xDebug on my local Ubuntu environment to speed up development and it’s a great asset.
However, I would like to see the output of the Trace function directly in the browser, at the end of the script.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The xdebug_start_trace / xdebug_stop_trace functions only write to a file. These are what you are talking about right? But you could then read that file at the very end of your script so it would display.
If you need to step through your code regularly though, I would suggest using an external program (http://xdebug.org/docs/remote). Using one of those with xdebug will let you step through your code, set breakpoints, etc…