Disabling xdebug when running composer

前端 未结 18 1200
北海茫月
北海茫月 2021-01-29 21:18

When running composer diagnose, I get the following error :

The xdebug extension is loaded, this can slow down Composer a little. Disablin

18条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-29 21:43

    If you install composer using brew on OS X You can use this alias:

    alias composer="php -n $(cat $(which composer) | grep composer.phar | awk '{print $7}')"
    

提交回复
热议问题