You've already forked Php-Template
All checks were successful
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 2m59s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 2m55s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 3m9s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 3m5s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 3m51s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 3m11s
Reviewed-on: #22 Co-authored-by: Ron Rise <ron@siteworxpro.com> Co-committed-by: Ron Rise <ron@siteworxpro.com>
25 lines
539 B
Bash
Executable File
25 lines
539 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
echo "Installing xDebug"
|
|
|
|
apk add make gcc linux-headers autoconf alpine-sdk
|
|
|
|
curl -sL https://github.com/xdebug/xdebug/archive/3.5.0alpha3.tar.gz -o 3.5.0alpha3.tar.gz
|
|
tar -xvf 3.5.0alpha3.tar.gz
|
|
cd xdebug-3.5.0alpha3 || exit
|
|
phpize
|
|
./configure --enable-xdebug
|
|
make
|
|
make install
|
|
|
|
echo "
|
|
zend_extension=xdebug.so
|
|
xdebug.mode=debug
|
|
xdebug.start_with_request = yes
|
|
xdebug.client_host = host.docker.internal
|
|
" > /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
|
|
|
|
cd ..
|
|
rm -rf xdebug-3.5.0alpha3
|
|
rm -rf 3.5.0alpha3.tar.gz
|