I noticed that when I use the unified debugger and the “standard” build back and forth then Pio is deleting the build in the
.pioenvs and compiling all sources over again (with debug symbols .
-g3 or without). The ‘proper’ behavior would be to have separate build dirs for compiler vs debugger optimization.
I would like to start working on this and contribute to the project.
I have a clone here: https://github.com/nargetdev/platformio-core
If anybody has worked in this domain or has any advice would be much appreciated!!