开发者

How to turn off xdebug in script? [duplicate]

This question already has answers here: 开发者_JAVA百科 Closed 10 years ago.

Possible Duplicate:

How to disable XDebug

I have installed xdebug, but it is making my unit tests much slower. Is there a way to disable it via ini_set or other way. I tried xdebug_disable(), but no difference at all, unless I change php.ini file.

My idea is to turn on xdebug only when code-coverage report is generated, I don't need it before that.


I didnt check but maybe

xdebug_start_code_coverage();

and

xdebug_stop_code_coverage();

work for you

found it here http://xdebug.org/docs/code_coverage

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜