MONTREAL -- The Quebec leaders' debate sprang to life in the final half hour Thursday when the front-runner in the polls was attacked for his position to expel immigrants who fail a French test after three years in the province.

Coalition Avenir Quebec Leader Francois Legault defended his controversial position, telling his opponents, "why should someone fail a test if they can take French classes for free?"

While the debate earlier saw Philippe Couillard have to defend his government's cuts to education and health care, the Liberal leader went on the attack on the politically charged immigration issue.

Couillard told Legault his "expulsion test" is making people across the province "afraid of you."

"Quebecers are tired of you giving them lessons," Legault responded.

Couillard said he would maintain annual immigration levels at about 50,000 people, saying Quebec needs workers due to labour shortages across the province.

Legault wants to reduce immigration to the province by 20 per cent year, or by roughly 10,000 people, in order to better integrate them and to ensure there are enough services to help them learn to speak French.

If they can't pass the test after three years, they will have to leave, Legault said.

"We're not talking about expelling citizens," he added. "We're talking about expelling immigrants who aren't citizens yet."

Parti Quebecois Leader Jean-Francois Lisee then had his turn to attack Legault on his position, accusing the Coalition leader of wanting to create thousands of "paperless" people threatened with expulsion from the province.

Earlier in the debate, Couillard defended his government's cuts in the early years of the Liberal mandate in the Health and Education departments.

The Liberal leader said the cuts led to several balanced budgets and surpluses that have allowed Quebec to responsibly invest in services and pay down debt.

Legault said he'll "never forgive" Couillard for reducing services to special-need kids, while Lisee insisted the Liberal cuts caused "human misery."

Despite the recent reinvestment in the health network, the Liberals' budgetary compressions between 2014 and 2016 led to cuts totalling almost $1 billion, according to IRIS, a left-leaning research institute.

The same institute said the Couillard government's so-called austerity initiatives resulted in cuts to school budgets totalling roughly $675 million -- $337 million in the elementary and high school system alone.

However, the lean years in the early part of the mandate allowed Quebec to post consecutive balanced budgets, increase its credit rating and pay down debt, which has decreased for three years in a row.

As of March 2018, the province's gross debt stood at $204.5 billion, representing 49.6 per cent of GDP, down from the peak of 54.3 per cent in 2014-15.

Couillard's opponents also reminded him of how nurses and orderlies are overworked and burned out, how elderly patients in long-term care facilities don't get enough baths and how medical specialists are overpaid, leaving less money for patient services.

The Liberal leader, who is seeking another term as premier in the Oct. 1 vote, said "there has been more money than ever for home care" since his government's election in 2014, and he promised to hire more nurses and orderlies to give better services for patients.

Lisee came out strong against Couillard, calling his record "shameful."

"You are right to be frightened because what we have seen over the last four years is simply shameful," Lisee told the first citizen to ask a question in the debate after she said she was scared of ending up in one of the long-term care facilities.

Legault also hit Couillard hard on the topic.

"Our elderly have the right to be treated with more dignity, so we need more staff in these long-term care facilities and to have them renovated," said Legault.

Couillard countered by reminding the leaders that "everyone has compassion around here."

He said he had no choice but to make budget compressions because the previous PQ government left a multibillion-dollar deficit his government had to attack.

Manon Masse, one of Quebec solidaire's two co-spokespeople (the fourth-placed party in the legislature does not have leaders), said her party is the only one "with the courage" to collect more money to pay for services.

Quebec solidaire is promising to find $13 billion more a year for the state, mostly from wealthier Quebecers and large companies.

There will be two other televised debates -- one in English next Monday and another in French on Sept. 20.

One recent poll found that 44 per cent of respondents who had a preference said they could change their minds based on the performances in the debates.