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" ]] && {