fix(accordion): Output debug info only if attriutes are set

Debug information can now be requested via attributes.