enabling xdebug remote debug makes apache server very slow

后端 未结 11 467
野的像风
野的像风 2020-12-02 12:03

If I enable xdebug by settting xdebug.remote_enable=1, the apache server becomes very slow; once I change the setting to 0, it\'s normal.

I

11条回答
  •  被撕碎了的回忆
    2020-12-02 12:39

    In my case low performance was caused by having 200+ breakpoints set in PHPStorm which were evaluated on every request by xdebug.

    Clearing those breakpoints in PHPStorm increased perfomance from 60 sec to 6 sec per request.

提交回复
热议问题