News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Bence Eros' Blog:
Creating an interactive debugger for PHP
January 26, 2011 @ 08:53:48

Bence Eros has submitted a new post from his blog that looks at the method he came up with to create an interactive debugger for PHP. It's just a prototype/proof of concept that lets you execute PHP code in the browser (using eval - a little scary, I'll admit).

Last night I created a prototype for an interactive debugger for PHP without the need of any IDE-plugin. In this post I'm going to show what I found. Unfortunately you will need some time to put the environment together, but I think it's worth doing it. My target was to create a way how you can view and modify your variables manually at runtime, only by inserting one line code.

He does mention that, because of the settings he uses, the debugger can only be loaded from a different domain than the application which can be restricted a bit simpler (i.e. its own https or .htauth). His setup uses an Apache2 web server and a few PHP/HTML scripts to get the job done. In the end you'll have something similar to this for you to run your code in.

3 comments voice your opinion now!
interactive debugger webbased tutorial apache2


blog comments powered by Disqus

Similar Posts

Abhinav Singh's Blog: Get real time system & server load notification on any IM using PHP and XMPP

Phish Tank: Install & Configure Apache+PHP+ZendFramework+OracleDbXe On Windows In Minutes

IBM developerWorks: Introduction to MVC programming with Agavi, Part 3: Add authentication and admin

Ade Slade's Blog: Implementing Twitter sign-in with Silex and PHP

Chris Jones' Blog: Oracle Resources for PHP


Community Events





Don't see your event here?
Let us know!


symfony2 community developer experience series framework laravel list threedevsandamaybe code testing introduction install refactor podcast release opinion language interview unittest

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework