News Feed
Sections




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

Box.net:
How to Debug PHP with Vim and XDebug on Linux
November 07, 2007 @ 12:17:00

Curt Zirzow has pointed out a cool article on the Box.net website about debugging your PHP applications with a combination of Vim and XDebug (on linux).

Here's how it works. You're coding away in vim. You hit F5; Vim waits for a connection from the PHP server. You refresh the PHP page you're working on. It attempts to contact Vim - connection successful. You are launched into a debugging session right inside Vim. You can step into, over, and out of statements, eval statements, get all variables in context, get and set properties, remove and set breakpoints, all on the fly. Finally, some real programming tools.

Included are the steps to set up the vim environment , set up the client debugger (DGBp) and link it all to the XDebug functionality on your remote machine.

0 comments voice your opinion now!
vim xdebug debugging linux dgbp client server vim xdebug debugging linux dgbp client server


blog comments powered by Disqus

Similar Posts

Clay Loveless' Blog: Adios, Zend Studio. Hola, Komodo Pro!

Derick Rethans: Contributing Advent 1: Xdebug and hidden properties

Danne Lundqvist's Blog: Adding support for MS SQL Server to PHP in Linux

Brandon Savage's Blog: PHP 5.3 Not In Next Version Of Ubuntu

Pierre-Alain Joye's Blog: Debugging symfony (or any php script) with vim and Xdebug


Community Events





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


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

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