I’ve been using Varying Vagrant Vagrants ( VVV ) for a while now, and love it. I also love Xdebug. Beats the pants of var_dump() and print_r(). Had some trouble getting it going with WordPress’ VIP Quickstart though. Turns out it just needed some adjustments to a config file. That file is params.pp , located here
/srv/puppet/modules/php/manifests/extension/xdebug
I believe there were only two settings set by default in that file after installing Quickstart. After adding the following, I was back in business debugging with PhpStorm.
'.anon/zend_extension' => "${install_dir}/xdebug.so",
'.anon/xdebug.max_nesting_level' => '1000',
'.anon/xdebug.remote_enable' => 1,
'.anon/xdebug.remote_autostart' => 1,
'.anon/xdebug.remote_port' => 9000,
'.anon/xdebug.remote_host' => '10.86.73.80',
'.anon/xdebug.remote_handler' => 'dbgp',
'.anon/xdebug.remote_connect_back' => 1,
'.anon/xdebug.profiler_enable_trigger' => 1,
'.anon/xdebug.idekey' => "vagrant",
'.anon/xdebug.remote_log' => "/var/log/xdebug/xdebug.log",
'.anon/xdebug.var_display_max_children' => -1,
'.anon/xdebug.var_display_max_data' => -1,
'.anon/xdebug.var_display_max_depth' => -1,
Also had to restart Nginx and PHP.
as originally found here.