Skip to content

Instantly share code, notes, and snippets.

@demagu
Last active August 29, 2015 14:04
Show Gist options
  • Save demagu/2d5a764280cfe3dd8992 to your computer and use it in GitHub Desktop.
Save demagu/2d5a764280cfe3dd8992 to your computer and use it in GitHub Desktop.
Vargant - xdebug config for puphet
class { 'xdebug':
service => 'apache',
}
puphpet::ini { 'xdebug':
value => [
'xdebug.default_enable=1',
'xdebug.idekey="PHPSTORM"',
'xdebug.remote_enable=1',
'xdebug.profiler_output_dir=/var/www/xdebug-profiler',
'xdebug.profiler_enable_trigger=1',
'xdebug.remote_connect_back=1'
],
ini => '/etc/php5/conf.d/zzz_xdebug.ini',
notify => Service['apache'],
require => Class['php'],
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment