Disabling xdebug when running composer

前端 未结 18 1397
北海茫月
北海茫月 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:30

    As noted in Joyce's answer, this issue no longer exists in the latest version of Composer.

    The Composer documentation has been updated to note this. It details how you can enable xdebug with Composer (if required).

    You can update your version of Composer by utilising self-update.

    On my Mac I had to do: sudo php /opt/local/bin/composer self-update

    Further details about this in the context of a Homebrew PHP install can be found in this issue.

提交回复
热议问题