Labour amendment agreed to unanimouslypublished at 17:07 Greenwich Mean Time 27 November 2019
44 MSPs back the Tory amendment but 60 vote against it.
However the Labour amendment is agreed to unanimously.
MSPs agree primary legislation will be required to hold another independence referendum, as the constitution committee amends the Referendums Bill
The constitution secretary sees his indyref2 question testing amendment agreed to
A Tory amendment calling for the Electoral Commission to test all referendum questions is rejected
Craig Hutchison and Emma Gordon
44 MSPs back the Tory amendment but 60 vote against it.
However the Labour amendment is agreed to unanimously.
60 MSPs back the health secretary's amendment, with 44 against.
Alex Cole-Hamilton says Willie Rennie revealed in his opening remarks the "mental health crisis" in our police force.
The Lib Dem MSP says he was very dismayed that the cabinet secretary singularly failed to even acknowledge that.
That a third of our police officers are going to work unwell and are resorting to self-medication is a worrying indictment and very troubling, he says.
The police are having to deal with more cases of mental ill health in their work, he adds.
Mr Cole-Hamilton says the police have a miserly 7.5 additional mental health workers.
Jeane Freeman says the government must collaborate with partners, which leads to a slightly slower pace in terms of addressing mental health issues
The alternative would be for her to direct from the centre which she says she is happy to do if that is what opposition parties want.
The health secretary tells the chamber the transformational change needed in mental health does not happen quickly or indeed instantly
We are on track to meet that target of 800 additional mental health workers, argues Ms Freeman.
She insists the target has not been diluted.
Tory MSP Miles Briggs criticises the government for trying to delete "crisis" from the Lib Dem motion, as there is a crisis in mental health services so many families face today.
Mr Briggs argues it is important to note what has been said about mental health in the police service but also with NHS staff as well.
"We need to see the preventative side of this brought forward."
The Tory MSP says that NHS workforce planning is not fit for purpose, particularly in the provision of psychiatric care for children.
We are seeing our health service let down some of our most vulnerable children which is simply not acceptable, he adds.
Monica Lennon says Scottish Labour supports today's debate, pointing to a 160% increase in teenage suicide since 2014.
She says there is a need to boost crisis support, especially over the festive period.
The MSP tells of a 14-year-old boy in her constitiuency who could not get a GP referal and took his own life a few days later.
Labour MSP Lewis Macdonald, the health committee convener, says he and his fellow committee members were in Perth to quiz NHS Tayside, where the main issue was mental health.
An investigation was initially ordered into Dundee's Carseview Centre but was expanded following a campaign by families of people who had taken their own lives.
With crisis point being reached, Dr David Strang was appointed to lead an independent inquiry into NHS Tayside's mental health services.
Mr Macdonald says the interim recommendation from the inquiry called for a halt to planned centralisation of mental health services by NHS Tayside.
Despite this the board told the committee this week it has ploughed on with its plans, arguing it had no choice.
The final report from Dr Strang will be critical with what happens next, says Mr Macdonald.
When Helen Mackay had a baby 14 weeks ago, she really struggled with her mental health.
"I slipped into a dark place. I was scared to leave the house," she said.
Ms Mackay is one of millions of women worldwide with perinatal mental health (PMH) issues that occur during pregnancy or the first year of a child being born.
Now Scottish midwives are asking for more specialist training so they can better support new mothers.
SNP MSP Keith Brown says veterans should not be forgotten in this debate.
He says loss of community could be behind a rise in poor mental health among former members of the armed forces.
Willie Rennie wants to know if Mr Brown has anything to say about police officers.
Mr Brown then talks about prevention policy in schools, pointing once again to coalition cuts when the Lib Dems were in government.
Green MSP Alison Johnstone tells the chamber that we all need to discuss our mental health more, like we do when we're physically ill.
She adds that poverty can lead to mental health problems, and that fit to work assessments for Universal Credit can as well.
UK welfare reform is responsible, she adds.
Identifying warning signs is key, and resilience can be built-in she says.
The number of times people needed compulsory mental health treatment in Scotland reached a record high last year.
Data from the Mental Welfare Commission revealed there were 6,038 such detentions under the Mental Health Act.
Rates of emergency orders used in a crisis have risen most sharply among teenagers over the last decade.
The figures also revealed big differences in the rates of detention between different health board areas.
The Labour MSP says access to a school counsellor can fundamentally change the mental wellbeing of a young person.
Ms Fee says mental health services must be provided to offenders.
The health secretary says there must be a collaborative approach in relation to the 800 additional mental health workers, not her directing where they go.
Ms Fee agrees but says we must move this along as quickly as we possibly can.
She calls for the commitment on suicide prevention made last year to be reaffirmed.
Ms Fee points out it is right to say there is a mental health crisis and the government must bear the ultimate responsibility for that crisis.
Three in ten children and young people are not being seen within the CAMHS 18 week target, she says.
The Labour MSP says children and young people are being let down now and the consequences can follow them into adulthood.
She says her amendment has a special focus on young people.
Mary Fee associates herself with the "shocking statistics" about mental health in the police cited by Willie Rennie.
The Labour MSP says it is imperative that we support the police force.
How we treat mental health has now become a higher priority across society, she adds, saying it is still not discussed or treated on a par with physical health.
Ms Wells calls for mental health services to be provided in A&E 24/7.
The Tory MSP cites her party's plan to tackle loneliness.
She calls for change now in our mental health services.
Ms Wells says Audit Scotland have said mental health services for children are too complex and fragmented.
The Tory MSP argues issues are going untreated and getting much worse.
She says the vacancy rate of 8.6% across psychological services is the highest it has been.
Ms Wells says progress on the welcome commitment to 800 additional mental health workers by 2020/21 has been at a "glacial pace".
Tory MSP Annie Wells says her party calls for parity of esteem between mental and physical health.
"We cannot let it be seen as something that can be overlooked."
She argues it is clear Scotland is nowhere near a world leader in this area at the moment, with nearly a quarter of adults waiting too long for psychological therapy.