Browse Source

Reverting Xdebug 3 + n98-magerun2 updates as causing blank CLI prompt #545

Mark Shust 3 years ago
parent
commit
1512fff701
1 changed files with 1 additions and 7 deletions
  1. 1 7
      compose/bin/n98-magerun2

+ 1 - 7
compose/bin/n98-magerun2

@@ -11,10 +11,4 @@ if ! bin/cliq ls bin/n98-magerun2.phar; then
   bin/cliq mv n98-magerun2.phar bin
 fi
 
-S=$(bin/cli cat /usr/local/etc/php/php.ini | grep -iGc 'xdebug.mode = off');
-
-if [[ $S == 1 ]]; then
-  bin/cli bin/n98-magerun2.phar "$@"
-else
-  bin/cli php -dxdebug.mode=debug -dxdebug.start_with_request=yes bin/n98-magerun2.phar "$@"
-fi
+bin/cli bin/n98-magerun2.phar "$@"