mirror of
https://github.com/pterodactyl/development.git
synced 2025-12-10 10:44:48 -06:00
Fix xdebug issues with phpstorm
This commit is contained in:
parent
12fe2c844d
commit
2a7a64dd6a
1
.gitignore
vendored
1
.gitignore
vendored
@ -2,3 +2,4 @@
|
||||
**/.DS_Store
|
||||
.data/**
|
||||
.docker-sync/**
|
||||
.idea
|
||||
|
||||
8
Vagrantfile
vendored
8
Vagrantfile
vendored
@ -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'
|
||||
|
||||
@ -47,9 +47,10 @@ opcache.enable_cli = 1
|
||||
EOF
|
||||
|
||||
cat >> /etc/php/7.2/fpm/conf.d/20-xdebug.ini <<EOF
|
||||
xdebug.remote_enable=1
|
||||
xdebug.profiler_enable=1
|
||||
xdebug.remote_host=host.pterodactyl.test
|
||||
xdebug.remote_enable = 1
|
||||
xdebug.remote_host = host.docker.internal
|
||||
xdebug.remote_port = 9000
|
||||
xdebug.idekey = PHPSTORM
|
||||
EOF
|
||||
|
||||
# Install development dependencies
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user