Add debug and optimize component.