I’m trying to debug mbed application with Nucleo-F429Zi and platformio.
Rebuild of the project is painfully slow due the size of mbed framework.
So I decided to choose build_type = debug in platformio.ini.
After successfully build I tried to start debug.
The debug process started as usual build and finished in terminal.
But then pio started the same build task in DEBUG CONSOLE with full project rebuild!
And after this second build it started the debugging, but then if you want to build your project it start to rebuild again.
OS Windows 10, latest platformio, vscode and embed.
Even if I press Restart(Ctrl+Shift+F5) button in debug it starts to rebuild project, but failed to create elf file.