Since the PlatformIO internal debug solution does have a number of glitches (not displaying some of the peripheral registers and not allowing meaningful assembly-level debugging), it would be great to see Cortex-Debug used instead (note that despite its name, it also supports AVR, ESP, and the like).
Just to try it out, I installed the Cortex-Debug extension, changed the launch.json file, and started debugging with the Cortex-Debug configuration on an AVR chip. Works great! So, why not replace the PIO internal solution with Cortex-Debug?
Since the PlatformIO internal debug solution does have a number of glitches (not displaying some of the peripheral registers and not allowing meaningful assembly-level debugging), it would be great to see Cortex-Debug used instead (note that despite its name, it also supports AVR, ESP, and the like).
Just to try it out, I installed the Cortex-Debug extension, changed the launch.json file, and started debugging with the Cortex-Debug configuration on an AVR chip. Works great! So, why not replace the PIO internal solution with Cortex-Debug?