Describe the bug
Several ST packs contain templates that specify for build-type: debug; optimize: off instead of optimize: debug
Example: https://github.com/Open-CMSIS-Pack/STM32C0xx_DFP/blob/main/Templates/CubeMX/CubeMX.csolution.yml#L37
This problem should be corrected for the next release.