Easy way to add XDEBUG_SESSION_START file / variable?

I use vim with debugger and xdebug to walk through PHP applications.

In firefox (or any other browser) I need to open the page, call the URL with XDEBUG_SESSION_START=1 added to it to tell the xdebug PHP plugin to start the debug server.

This works great, but could it be easier?

Is there any plugin for firefox that allows me to automatically add this session? Some xdebug installation that allows me to get around this all together? Or some vim-addon, script or trick that allows me to automatically call firefox with this parameter?

+8
vim php xdebug
source share
2 answers

Take a look at the Firefox Extensions page.

Some time ago I used vimxdebug . It did a great job, but it is not supported in Firefox 8.0. There is also another extension, easy Xdebug , but I have not tried it.

+4
source share

there is a list of extensions used for different browsers at http://xdebug.org/docs/remote#browser-extensions

It doesn't matter what IDEs they are for, as they should work for everyone.

amuses Derik

+1
source share

All Articles