Leaders clash over pipelines during debate