Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/STMicroelectronics/STM32G031/DBG/CR#0x0
Debug MCU configuration register
Debug Stop mode
Debug Standby mode
https://github.com/cmsis-svd/cmsis-svd-data