Created
October 1, 2015 09:22
-
-
Save rskvazh/bd634f6efc10fd05639d to your computer and use it in GitHub Desktop.
Enable xdebug.remote_autostart in homestead: ~/.homestead/after.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# If you would like to do some extra provisioning you may | |
# add any commands you wish to this file and they will | |
# be run after the Homestead machine is provisioned. | |
sudo apt-get -y install mc | |
echo "PHP: enabling xdebug.remote_autostart" | |
XDEBUG_FILE="/etc/php5/mods-available/xdebug.ini" | |
if ! grep -qe "^xdebug.remote_autostart" "$XDEBUG_FILE"; then | |
sudo echo "xdebug.remote_autostart=1" >> "$XDEBUG_FILE" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Может в readme проекта это закинуть?