xforty / vagrant-drupal

Template repo for a new drupal project built on top of a vagrant vm.
Other
46 stars 11 forks source link

Add an xdebug cookbook #2

Open dkingofpa opened 12 years ago

dkingofpa commented 12 years ago

I want to be able to debug the drupal site using xdebug.

pearcec commented 12 years ago

I experimented with this cloning it to site-cookbooks. The chef-xdebug supports attributes. I think we should have a commented out section in the Vagranfile. You want to turn on remote_enable set to 1. Also we need to set the remote_host as the IP address you are connecting from.

Similar to how I have a commented section out for chef-squid adding it as a recipe. Or perhaps we roll all of this into the drupal/dev.rb recipe including the squid recipe.