Disabling xdebug when running composer

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

    In most cases you do not need xdebug on CLI mode. If this is acceptable for you than you can configure cli and cgi differently.

    So if you make php-cli.ini and conf-cli.d near exiting php.ini file than you can configure cli and cgi differently (for cgi it would be php.ini and conf.d). Just do not put xdebug.ini into conf-cli.d.

提交回复
热议问题