Monday, January 25, 2010

getting php debug working in vim / gvim

hello,

i read some articles on the net about setting up xdebug and vim with
those python debug plugin but i can't get it to work.

i tried this script:

http://www.vim.org/scripts/script.php?script_id=2508

and added the following lines to my php.ini
------------------------
zend_extension="usr/lib/php5/20060613+lfs/xdebug.so"
[debug]
xdebug.remote_enable = 1
xdebug.remote_port = 9000
xdebug.remote_host = localhost
xdebug.remote_handler = dbgp
------------------------

stepping into the code, setting breakpoints and so on works but the
inspection of the variables doesn't seem to work as intended.

i use f12 to add a watch and can see the current value, but when
stepping further into the code my variables on the watchlist won't
update so the whole thing is pretty useless.

can anyone provide me with additional information? any advice would be
appreciated

thanks

--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

No comments: