Debug Symfony project in NetBeans

I am using vagrant box for developing the project on Symfony ( Locally my webroot files folder mounted at /home/ygerasimov/vagrant/puphpet/puphpet.

In order to debug the project in NetBeans we need to set up folders mapping:

Server path: /var/www/puphpet -- this is folder on the vagrant box where my site is

Project path: /home/ygerasimov/vagrant/puphpet/puphpet -- this is where project folder is mounted on my local machine (host)

Further reading about setting up NetBeans path mapping


Vote for drupalcafe session for #how-to debug php applications with xdebug# from drupal developer point of view