HiThe French were onto something with their Breguet Bre.693 but the timing of the German invasion and their lack of experience with this type of warfare saw the 693's career cut short.
It's also interesting to note that the French had been exploring dedicated ground attack aircraft armed with cannon since the early 1930's.
They may have been "onto something" with the Breguet 693, sadly according to 'The Forgotten Air Force - French Air Doctrine in the 1930s' by Anthony Christopher Cain, page 126:
"Specially trained ground attack aviation groups equipped with newer Breguet 693 aircraft fared no better, with fifty-eight aircraft shot down and another forty-two damaged by antiaircraft fire during the course of the campaign."
Success or failure for ground attack aircraft can depend less on the type or its armament but more on the air and ground situation they are used in.
Mike