The debate was characterized by lively exchanges between the political rivals.