How to change the colors of xdebug output?

前端 未结 3 436

The red and yellow standard colors of xdebug can hurt your eyes after a few hours.

http://www.designified.com/blog/article/76/restyling-xdebug-output describes how to re

3条回答
  •  猫巷女王i
    2021-01-24 19:17

    Another option is to disable xdebug from overloading var_dump. In the php.ini [XDebug] section add xdebug.overload_var_dump=0

    Formatting the output is then up to you; one such way could be wrapping var_dump in your own debug function that prints

     tags.

提交回复
热议问题