Add condition to debug params