Question
Openocd
I ported openocd to the stm32l522.
https://github.com/morbos/openocd-0.10.1
openocd -f board/st_nucleo_l522.cfg
From there you can remote connect from gdb, flash, and see the s/ns processor regs. Watchpoints work also.
Hedley