Skip to content

Commit

Permalink
feat: mode
Browse files Browse the repository at this point in the history
  • Loading branch information
lucassabreu committed Feb 22, 2024
1 parent ed28b4e commit 028afba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/xdebug-set-mode
Original file line number Diff line number Diff line change
Expand Up @@ -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" ]] && {
Expand Down

0 comments on commit 028afba

Please sign in to comment.