 | News Feed |
Sections
|
| feed this: |  |
Box.net: How to Debug PHP with Vim and XDebug on Linux
by Chris Cornutt 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.
voice your opinion now!
vim xdebug debugging linux dgbp client server vim xdebug debugging linux dgbp client server
Tobias Schlitt's Blog: Comfortable PHP editing with VIM -5-
by Chris Cornutt August 23, 2006 @ 09:55:06
Tobias Schlitt has picked by up his "comfortable PHP editing in VIM" series today with this lengthy post with loads of helpful VIM tips to share with PHP developers everywhere.
More than a half year after my last "Comfortable PHP editing with VIM" post, I take up this series again, although I decided to let it die in January. Sadly I did not find any time by now, to extend PDV (the PHP Documentor for VIM plugin) further than it's version 1.0.1, which is available through vim.org and on my SVN. Anyway, I collected a lot of (at least for me) helpful VIM tips, which I'd like to share here
The post contains tons of tips on subjects such as:
- Find matching brace
- Indenting and unindeting
- Emergency help
- Macros
and many more. For each subject, there's an explaination of a situation you might need it in and, of course, the tip itself. He also links to the earlier parts of the series (one through four) for those wanting to catch up.
voice your opinion now!
vim easy edit pdv comfortable matching recover regex commands vim easy edit pdv comfortable matching recover regex commands
|
Community Events
Don't see your event here? Let us know!
|