Immigration reform was the main point of contention in a feisty debate between the two frontrunners to secure the Democratic Party nomination in the race for the White House.