浏览代码

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

Mark Shust 3 年之前
父节点
当前提交
1512fff701
共有 1 个文件被更改,包括 1 次插入7 次删除
  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 "$@"