Question
DBGMCU_CR_DBG_STOP setting ignored
Setting DBGMCU->CR.DBGMCU_CR_DBG_STOP should allow debugging in STOP mode; eg, from ST examples:
/* Allow debugging in Stop Mode */
DBGMCU->CR |= DBGMCU_CR_DBG_STOP;
/* Enter Stop Mode */
HAL_PWR_EnterSTOPMode( PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI );
But, if 'Debug in low power modes' is set to anything other than 'Enable', that statement has no effect - the bit is not set, and the debugger loses connection.

When 'Enable' is selected, the bits are already set - so the code is pointless.
Is this the intended behaviour?
