News Feed
Jobs Feed
Sections




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

Chris Jones:
Quick Debugging of PHP Scripts in Emacs with Geben and Xdebug
January 24, 2013 @ 11:19:47

Chris Jones has a new post showing how you can use Emacs and Xdebug for debugging with the help of the geben plugin.

When you want to test a PHP code snippet quickly, it's handy to do it within your day-to-day environment. For me, this environment is Emacs. The geben package for Emacs provides an interface to the DBGp protocol, such as used by Derick Rethans's standard Xdebug extension for PHP. With the combination of geben and Xdebug, I can quickly and efficiently step through execution of local files, examining code flow and data values.

He includes a ten step process (step 11 is basically "use it") that walks you through the installation of the full stack - PHP, Xdebug and geben - and the configuration changes you'll need to make to get them all working together. Some basic usage instructions are included, but if you want more details on using geben, check out the project's site.

0 comments voice your opinion now!
emacs xdebug tutorial install debug engen plugin


blog comments powered by Disqus

Similar Posts

Brian Swan's Blog: What SQL Server 2012 Means for PHP Developers

DevShed: Building Object-Oriented Web Pages with Inheritance in PHP 5

Sameer Borate's Blog: Adding HTML5 'Canvas' element to Wordpress

Josh Adell's Blog: Logging User Sessions Across Requests

KillerPHP.com: Zend Framework Components Part 2: Zend_View


Community Events











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


hhvm composer podcast language release package application security opinion component overview code symfony2 unittest introduction hack framework performance facebook install

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