You can refer to The STM32 Reference Manual on web and then go to section 25.15.3 Debug MCU configuration register, where you can enable DBG_STOP: to be able to Debug while you are in Stop Mode with STM32. Hope this is helps you :) Stone-32.
I'm trying to debug an application in stop mode but the JTAG debugger disconnects. Is it possible to let the JTAG device active when entering in stop mode ? Thanks in advance ! EG