如何删除浏览器中显示的Xdebug样式和其他信息? [重复]

This question already has an answer here:

So after installing Xdebug the way the output is shown changed. There's additional info about the callstack and some styling. Here's a screenshot:

screenshot

Now if I want to get back to the default (no styling and no call stack info) how do I disable it?

</div>

Try setting display_errors to Off in your php.ini file. Or, add ini_set("display_errors", 0); to the start of your PHP file.

Please note that this will suppress errors in the browser.

You can disable xdebug extension in WAMP via PHP Extentions menu or in your php.ini file by commenting the line with a ;

;zend_extension="c:/wamp64/bin/php/php7.0.10/zend_ext/php_xdebug-2.4.1-7.0-vc14-x86_64.dll"