mohatt / dashbrew

Vagrant build for developing PHP projects on different PHP versions and configurations
492 stars 38 forks source link

Enable remote debugging with xdebug by default if enabled #35

Open crittermike opened 9 years ago

crittermike commented 9 years ago

If xdebug is set to enabled in the environment.yaml, then xdebug.ini should probably have remote debugging turned on so it can be used right off the bat.

I did it on my end by adding the following lines to /config/php/fpm/conf.d/20-xdebug.ini and then running vagrant provision:

xdebug.remote_enable=On
xdebug.remote_autostart=On
xdebug.remote_connect_back=On