문제

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

In firefox (or any other browser), I then need to open up the page, call a URL with XDEBUG_SESSION_START=1 appended to it, in order to tell the xdebug PHP-plugin to start the debug-server.

This works fine, but can it be made simpler?

Is there some plugin for firefox that allows me add this session automatically? Some xdebug setting that allows me to circumvent this alltogether? Or some vim-addon, script or trick that allows me to call firefox with that parameter added automatically?

도움이 되었습니까?

해결책

Take a look to the firefox extensions page.

Some time ago I used vimxdebug. It did the job fine, but it's no supported in firefox 8.0. There's also other extension, easy Xdebug, but I didn't try it.

다른 팁

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

It doesn't matter for which IDE they are, as they should work for all.

cheers, Derick

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top