How do you organise debug configurations for a bootloader plus application project?
I am working on a project with a small bootloader and a separate application, both built in STM32CubeIDE, and I am trying to settle on a clean way to debug the two parts together.
At the moment I have one debug configuration for the bootloader and one for the application, but switching between them and keeping the right binary flashed feels a bit fragile. I have been building manually first, then launching the configuration for the part I want to debug.
How do other people organise this? Do you keep separate debug configurations for each part, use one configuration and change the flashed binary by hand, or debug the application only and test the bootloader separately? I would be interested to hear what has worked well in practice, especially any small habits that make it harder to accidentally debug against a stale binary.
