I am newbie on PHP. Here is my situation. I write my code in vim and put it under /var/www/ then I can use
localhost/*.php
Though i personally find var_dump just enough for my php debugging, some people tend to like using debuggers like xdebug to do so.