VSCode support for Cortex-M debugger

There is a new extension called Cortex-Debug https://marketplace.visualstudio.com/items?itemName=marus25.cortex-debug I think it would be nice to integrate it in PIO.

2 Likes

That looks interesting

the fact it has a disassembler and also a register viewer is excellent! I’ve been wanting these features in PIO for a while now!

This extension has been around for a while and works quite well.
Supporting this in PIO would be great, as it would possibly eliminate a lot of boilerplate/copy&paste code for enabling debug support in each board/platform separately.
Also it seems to have extended capabilities compared to pio debugger.

First step would probably to disable overwriting the launch.json file - so one could enable/use the extension manually by editing launch.json