MPs spent the afternoon debating the petition demanding a general election, which has received over 3 million signatories.