From 028afba6d43d40f42e120c287ee590ce2072266c Mon Sep 17 00:00:00 2001 From: Lucas dos Santos Abreu Date: Thu, 22 Feb 2024 16:04:28 -0300 Subject: [PATCH] feat: mode --- bin/xdebug-set-mode | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/xdebug-set-mode b/bin/xdebug-set-mode index 08be74c..ca1a632 100755 --- a/bin/xdebug-set-mode +++ b/bin/xdebug-set-mode @@ -29,6 +29,7 @@ rm -f $ini_file || true [[ $MODE == "off" ]] && exit echo "zend_extension=/usr/local/lib/php/extensions/no-debug-non-zts-${PHP_BUILD_DATE}/xdebug.so" | tee -a $ini_file +echo "xdebug.mode=$MODE" | tee -a $ini_file echo "xdebug.var_display_max_depth=5" | tee -a $ini_file [[ $MODE =~ "debug" ]] && {