Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Themes /

Discuss SilverStripe Themes.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

debug.css what is it, do I need it and can I get rid of it?

Go to End

3 Posts   1451 Views


Community Member, 165 Posts

19 February 2013 at 5:32pm


I'm looking at 3.0.4 for the first time and using the "Simple" theme.

With Firebug, I see that it calls a css file called "debug.css".

I can't find any info on this file, except that it's called from framework/dev/DebugView.php: and framework/templates/

What does this file do and, if it's just used for debugging, why does it show up on Firebug when no errors or debugging are taking place?

It's overriding layout.css. Should it be doing that?

Do I need this file?

What is it for?

Can I get rid of it?


Community Member, 253 Posts

19 February 2013 at 9:22pm

Debug.css is used to style the frameworks error notices warnings and other debug messages.

I don't think it is required in the theme as there is a core file for this too. But why not have the themed one? It shouldn't be included for any non-dev environments.


Community Member, 165 Posts

20 February 2013 at 7:35am

Thanks heaps.