I know I have mentioned about my dog that was poisoned due to barking, but I will say it again because, until that point I was against debarking.
I lived in the State that outlawed debarking recently. Before that it used to be incredibly difficult to debark anyway. You had to have a certain number of complaints from different people, who had to diarise the barking for a week, a letter from a vet and then a long process to get council approval.
My backyard backed on to a sheltie breeder and I owned one of her shelties - a male called Kimba. We put a gate between our properties so Kimba could spend time with the breeder's shelties. The breeder had tried to get her barkiest dog debarked because one of her neighbours used to scream at her and the dogs. But other neighbours weren't worried about it - she was on a big property and they were inside at night - so she didn't have the necessary documentation.
One day we found Kimba lying in a pool of vomit, writhing in pain in the breeder's yard. We rushed him to the vet but he didn't live long. The screaming neighbour had thrown baited food over the fence and it was my dog that ate it. Poor Kimba died in agony and all I got was a lousy apology from the neighbour that he didn't mean to kill my dog.
There are plenty of dog haters out there and I now think debarking is the least cruel way to keep a barking dog safe when all they are doing is what comes naturally. I also think it is far less cruel than e-collars.