title: How to debug PHP script when it is being accessed by android application
body: <p>I have an Android application that is connectiont to a web server running MySQL DB. On the web server I have <code>php</code> files that run scripts and return <code>JSON</code> Objects to the client (application). I recently upgraded the versions of my web server and as of then, the <code>SELECT</code> statements are no longer returning anything to the client if they have parameteres, however if I run a <code>SELECT</code> with no parameters, it works fine. Has anyone ever encountered a similar problem?</p>
  
  <p>To be more clear about my question: </p>
  
  <p><b>Is there anyway I can debug</b><code>php</code> <b>scripts?</b></p>
  
  <p>I thought maybe debugging via a web browser wouldn't work because the client is triggering the php files directly and not a direct access to the web.</p>
  
  <p>All help is much appreciated!</p>