[#2285] Add more verbosity to the code generator, when configured badly