Wednesday, November 7, 2012

Just to know the value of a variable using xdebug in vim

I'm new to debugging using xdebug (or any other software), so I installed this plugin, and I followed these instructions just to know the value of variable. So for checking the value of a variable I think these are the steps:

Create the breakpoing
Press F5 in vim
Press F5 in browser
Press F4 in vim
Move the cursor to the variable
Press F12 to check the value of the variable

It works ok, but for me these are too much steps just to avoid the typical var_dump($variable);die; line.

Is there anything am I doing wrong? is there any other quicker way to check the value of a variable?

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: