Skip to content
Advertisement

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.

Advertisement

Answer

The solution is the !important tag, it overrides the existing style values. Use the following css code to avoid eye cancer when using xdebug:

JavaScript
User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement