Vagrant: Enable XDebug remote debugging

refs #4460
This commit is contained in:
Eric Lippmann 2013-07-29 18:37:40 +02:00
parent 89a2ad9cb5
commit 104925dff4
3 changed files with 13 additions and 1 deletions

View File

@ -29,4 +29,10 @@ class php {
require => Package['php'],
notify => Service['apache']
}
file { '/etc/php.d/xdebug_settings.ini':
content => template('php/xdebug_settings.ini.erb'),
require => Package['php'],
notify => Service['apache']
}
}

View File

@ -0,0 +1,5 @@
xdebug.var_display_max_children = 128
xdebug.var_display_max_data = 1024
xdebug.var_display_max_depth = 5
xdebug.remote_enable = 1
xdebug.remote_connect_back = 1

View File

@ -9,4 +9,5 @@ RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
php_flag short_open_tag on
php_value short_open_tag 1
php_value xdebug.idekey PHPSTORM