I did a search on Real-time debug, it's said for nRF52810, in Code generation, should set Debugging Level to Level 3, and Optimization Level to None
Is that true for nRF52832, by default it set Debugging Level to Level 3, and Optimization Level to Debug, looks good to me.