Disabling xdebug when running composer

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

    I came up with a solution for the Windows-based Composer installer - it should work for any Composer installation, it just basically makes a copy of the loaded INI file and comments out the xdebug zend extension, then loads that configuration file when it runs composer.

    I've opened an issue to see if they'd like to integrate this change:

    https://github.com/composer/windows-setup/issues/58

    You can find my instructions and code there.

提交回复
热议问题