Added trace debug option.