For critical stuff the current mainstream agile thinking is naive.
Some years ago I also believed that debugging was evil! That your software must work in your head, in paper and in the computer.
But, that's mainly an algorithm oriented thinking, when your software is integrated with a lot of third-party pieces it's impossible to progress without debugging.