From 2a7a64dd6a60d7a126afde28544be35737f5f248 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Sat, 2 Mar 2019 17:08:00 -0800 Subject: [PATCH] Fix xdebug issues with phpstorm --- .gitignore | 1 + Vagrantfile | 8 ++++++-- scripts/deploy_app.sh | 7 ++++--- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index dbf3213..528e67d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ **/.DS_Store .data/** .docker-sync/** +.idea diff --git a/Vagrantfile b/Vagrantfile index 686bb83..19edb07 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -28,8 +28,12 @@ Vagrant.configure("2") do |config| app.vm.provider "docker" do |d| d.image = "quay.io/pterodactyl/vagrant-panel" - d.create_args = ["-it", "--add-host=host.pterodactyl.test:172.17.0.1", - "--add-host=daemon.pterodactyl.test:192.168.50.4", "--add-host=wings.pterodactyl.test:192.168.50.3"] + d.create_args = [ + "-it", + "--add-host=host.pterodactyl.test:172.17.0.1", + "--add-host=daemon.pterodactyl.test:192.168.50.4", + "--add-host=wings.pterodactyl.test:192.168.50.3", + ] d.ports = ["80:80", "8080:8080", "8081:8081"] if ENV['FILE_SYNC_METHOD'] === 'docker-sync' diff --git a/scripts/deploy_app.sh b/scripts/deploy_app.sh index 40cad60..af1aa50 100644 --- a/scripts/deploy_app.sh +++ b/scripts/deploy_app.sh @@ -47,9 +47,10 @@ opcache.enable_cli = 1 EOF cat >> /etc/php/7.2/fpm/conf.d/20-xdebug.ini <