diff --git a/vagrant/copy-and-restart-configs.sh b/vagrant/copy-and-restart-configs.sh index f89cd484..701eb577 100755 --- a/vagrant/copy-and-restart-configs.sh +++ b/vagrant/copy-and-restart-configs.sh @@ -7,7 +7,8 @@ mkdir -p /vagrant/storage/app/datastore sudo cp /vagrant/vagrant/pony.fm.nginx.config /etc/nginx/nginx.conf & sudo cp /vagrant/vagrant/pony.fm.nginx.site.config /etc/nginx/sites-enabled/pony.fm & -sudo cp /vagrant/vagrant/php-overrides.ini /etc/php/7.0/fpm/99-overrides.ini & +sudo cp /vagrant/vagrant/php-overrides.ini /etc/php/7.0/cli/conf.d/99-overrides.ini & +sudo cp /vagrant/vagrant/php-overrides.ini /etc/php/7.0/fpm/conf.d/99-overrides.ini & sudo cp /vagrant/vagrant/pony.fm.redis.config /etc/redis/redis.conf & sudo cp /vagrant/vagrant/pony.fm.supervisor.config /etc/supervisor/conf.d/pony.fm.conf & wait diff --git a/vagrant/php-overrides.ini b/vagrant/php-overrides.ini index 9a38c514..0ecb0f8a 100644 --- a/vagrant/php-overrides.ini +++ b/vagrant/php-overrides.ini @@ -2,4 +2,9 @@ expose_php = Off post_max_size = 250M -upload_max_filesize = 200M \ No newline at end of file +upload_max_filesize = 200M + + +xdebug.remote_enable = 1 +xdebug.remote_connect_back = 1 +xdebug.remote_port = 9000