首页 > 其他 > 详细

composer update/require slow when enable XDebug in CLI environment

时间:2017-03-08 13:51:41      阅读:186      评论:0      收藏:0      [点我收藏+]

Recently I find there will be some issue to use composer command, which seems too slow to finish.

After my investigation, I find that this problem is often related to xdebug lodaed (doesn‘t matter if enabled or not) in my CLI environment.

We can check wether xdebug is enabled for CLI using:

// unix
php -m | grep xdebug

Solution:

Further information what operations take so long can be gained by enabling maximum verbosity and profiling information:

composer install --prefer-dist -vvv --profile

or

composer update --prefer-dist -vvv --profile

composer update/require slow when enable XDebug in CLI environment

原文:http://www.cnblogs.com/wushuaiyi/p/6518685.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!