Added [debug] attribute in addition to .debug class for debugging widgets

TBR