You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
452 B

  1. #!/bin/bash
  2. DIR="$(realpath $(dirname "$(readlink -f "$0")")/..)"
  3. PHP_VERSION=$1 # Without dot
  4. WITH_PROFILER=$2
  5. if [[ -z "${PHP_VERSION}" ]]; then PHP_VERSION=74; fi
  6. POSSIBLE_XDEBUG_VERSION=xdebug2
  7. if [[ $PHP_VERSION -gt 81 ]]; then
  8. POSSIBLE_XDEBUG_VERSION=xdebug3
  9. fi
  10. ${DIR}/dockerfiles/php-fpm/${POSSIBLE_XDEBUG_VERSION}/xdebug.sh stop ${PHP_VERSION} ${WITH_PROFILER}
  11. ${DIR}/dockerfiles/workspace/xdebug.sh stop ${PHP_VERSION} ${WITH_PROFILER}