Hm I thought by modying debug_init_cmds
from the doc link above you could completely take control of that.
Then maybe the PlatformIO core has to be adapted to respect that for any GDB+pyOCD combination in https://github.com/platformio/platformio-core/blob/develop/platformio/commands/debug/initcfgs.py?
Yes please, that might be a separate issue if it works in VSCode.
Well the two other people in this thread are the devs. By talking to @ivankravets you’re speaking to the CEO and PlatformIO-core developer personally And @valeros develops a lot of platform integrations and other stuff.
The “canonical” way would be to open issues, in the repos where the offending code might be located, like Issues · platformio/platformio-core · GitHub for the core or Issues · platformio/platform-nxplpc · GitHub for the NXP integration.