add conditional to debug params button