Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
set the remote host and logs for xdebug
Browse files Browse the repository at this point in the history
Signed-off-by: Jason McCallister <jason@craftcms.com>
  • Loading branch information
jasonmccallister committed Apr 9, 2020
1 parent 5f819e2 commit a81cef4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions internal/cmd/machine_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@ write_files:
zend_extension=xdebug.so
xdebug.remote_enable=1
xdebug.remote_connect_back=0
xdebug.remote_host=localhost
xdebug.remote_host=192.168.64.1
xdebug.remote_port=9000
xdebug.remote_log=/var/log/nginx/xdebug.log
xdebug.remote_log=/home/ubuntu/.nitro/logs/xdebug.log
runcmd:
- sudo add-apt-repository --no-update -y ppa:nginx/stable
- sudo add-apt-repository --no-update -y ppa:ondrej/php
Expand All @@ -55,4 +55,6 @@ runcmd:
- sudo usermod -aG docker ubuntu
- sudo mkdir -p /app/sites
- sudo chown -R ubuntu:ubuntu /app/sites
- mkdir /home/ubuntu/.nitro
- touch /home/ubuntu/.nitro/logs/xdebug.log
`

0 comments on commit a81cef4

Please # to comment.