From 45793a298832a674479e8851b20a0f4d3f270d7e Mon Sep 17 00:00:00 2001 From: Peter Deltchev Date: Sat, 24 Dec 2016 18:08:33 -0800 Subject: [PATCH] Enabled xdebug in the dev environment. --- vagrant/copy-and-restart-configs.sh | 3 ++- vagrant/php-overrides.ini | 7 ++++++- 2 files changed, 8 insertions(+), 2 deletions(-) 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