I’ve been working on an Android app where server side is running PHP.
Currently I’m doing all my debugging with traces.
Any recommendations for better debug methods?
Thanks.
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.
If you’re looking for a real debugger, you can use xdebug. It supports remote debugging too.
But, simple print statements that write to a file can take you pretty far in php. Espescially with the awesomeness that is the print_r() and var_dump() functions.
You can also capture a chunk of output for logging via
Of, course, turn up
error_reportingtoE_ALLand set a value forerror_logafter turning onlog_errors