title: How to echo (or print) to the js console with php
body: <p>In javascript, I can print to the debug console using<br></p>
  
  <pre><code>console.log("Message here");
  </code></pre>
  
  <p>I'm now writing a php script, and would like to print to the debug console. Using the above code doesn't work in php. It seems I need to use either echo or some other command but I need the output to appear inside the output console, not the browser window.</p>