Disabling xdebug when running composer

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

    You can disable Xdebug setting an environment variable:

    XDEBUG_MODE=off composer install
    

    It's available using XDebug 3.

提交回复
热议问题