#!/bin/sh
set -e

if [ "1" = "${XDEBUG_ENABLED}" ]; then
    export PHP_INI_SCAN_DIR=:/etc/php/7.4/enable-xdebug
fi

exec "$@"
