This PHP debugger uses the HTML5 Server Sent Events (SSE) technology. SSE allows to send messages from the server side, where the PHP is executed, to the client side. Thus it is possible to include send_event() operation inside PHP scripts.
Moreover on the client side the index.js script can handle in different ways the messages sent by the PHP script (sender.php). In this example three displaying method are considered:
Using this approach it is possible to track and debug the execution of the PHP script just by looking at the log console of your browser.
Modified http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js to a secure url
https://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js