Chrome-DetectDebugDiv This Chrome extension set 'display: block' of (hidden) divs (with class/id debug or dev) to view the php print out For NetBeans use this Code-Template: echo "<div class='dev' style='display: none;'><pre>",print_r(${cursor}),"</pre></div>";