Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Linux lightweight PHP editor or IDE that supports xdebug

It's probably just a pipe dream, but... I'm looking for Linux php editor/IDE that has debugging support (xdebug).

I know there is a couple of them like: Eclipse, Aptana, Netbeans, - but they all written in Java as I recall and not exactly snappy.

I've beeen using notepad++ on Windows with dbgp plugin (for xdebug debugging). Unfortunately notepad++ is not available in Linux (not without Wine trickery).

Does anyone knows any non-java lightweight editor that has xdebug support?

Appreciate your help guys.

like image 433
Stann Avatar asked Nov 14 '10 23:11

Stann


2 Answers

vim is your friend! It also has a GUI alternative called gVim.

  • How to Debug PHP with Vim and XDebug on Linux
  • Easy PHP Debugging in Ubuntu (using Xdebug and Vim)
  • Using vim and xdebug DBGp for debugging Drupal (or any PHP application)

Here's a screenshot of Vim + Xdebug in action.

like image 189
Andy Avatar answered Nov 06 '22 09:11

Andy


Emacs can do too

GEBEN is a software package that interfaces Emacs to DBGp protocol with which you can debug running scripts interactively. At this present DBGp protocol are supported in several script languages with help of custom extensions.

See more at http://www.xdebug.org/docs/remote

like image 25
Gordon Avatar answered Nov 06 '22 08:11

Gordon