How to change the colors of xdebug output?
问题 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 replace the style with javascript requiring jquery. I was looking for a more straight forward way and finally found one. 回答1: The solution is the !important tag, it overrides the existing style values. Use the following css code to avoid eye cancer when using xdebug: .xdebug-error { font-size: 12px !important; width: 95%