# Warning: XDEBUG\_MODE=coverage or xdebug.mode=coverage has to be set

**URL:** <https://travis-ci.community/t/warning-xdebug-mode-coverage-or-xdebug-mode-coverage-has-to-be-set/10790>\
**Category:** PHP\
**Created:** [December 9, 2020, 5:10am UTC](https://travis-ci.community/t/warning-xdebug-mode-coverage-or-xdebug-mode-coverage-has-to-be-set/10790 "2020-12-09T05:10:05Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Falseclock](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/falseclock/32/5785_2.png) [@Falseclock](https://travis-ci.community/u/Falseclock)\
**Post date:** [December 9, 2020, 5:10am UTC](https://travis-ci.community/t/warning-xdebug-mode-coverage-or-xdebug-mode-coverage-has-to-be-set/10790/1 "2020-12-09T05:10:05Z")

</div>

seems virtual image not properly configured

> **[Travis CI - Test and Deploy Your Code with Confidence](https://travis-ci.org/github/Falseclock/AdvancedCMS/jobs/748375825)**

this one works correct

> **[Travis CI - Test and Deploy Your Code with Confidence](https://travis-ci.org/github/Falseclock/AdvancedCMS/jobs/748375826)**

---

<div class="post-metadata">

**Author:** ![native-api](https://sea1.discourse-cdn.com/flex015/user_avatar/travis-ci.community/native-api/32/430_2.png) [@native-api](https://travis-ci.community/u/native-api)\
**Post date:** [December 9, 2020, 12:15pm UTC](https://travis-ci.community/t/warning-xdebug-mode-coverage-or-xdebug-mode-coverage-has-to-be-set/10790/2 "2020-12-09T12:15:15Z")

</div>

> [@Xdebug 3 is installed by default? breaking builds](https://travis-ci.community/t/xdebug-3-is-installed-by-default-breaking-builds/10748):
>
> Hello I think that xdebug version 3 may be being installed by default now instead of version 2 is this correct? We are finding it breaking our code coverage, we have reproduced it here. Is there a way to downgrade xdebug? Is that even the issue? Thanks
