PHP + xdebug

Since starting my new job, I’m increasingly trying to debug what can only be described as an epic clusterfuck of spaghetti php. To make this easier I stumbled upon xdebug, and wouldn’t you know it, one of the best clients out there is a plugin for vim.

I made a couple of small tweaks to make it (imo) even better, although if you use my version bear in mind that one of those tweaks was disabling colors on breakpoints so that my colorscheme could handle them- you’ll want to turn them back on unless you use my fork of Jellybeans.

The two scripts are here and here, just drop them in your $VIMHOME/plugins, and typedd to start.

About richo

I enjoy exploring interesting concepts in weird languages. I also like hacking on all of the things.
This entry was posted in Guides and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *