VScode in nRFConnect removes -DCONFIG_DEBUG_THREAD_INFO=y since end of August 2025

Hi all,

Full debug builds (-Og) of lwm2m_client simply don’t fit into the nRF91xx targets (nRF9151 DK, Thingy91, Thingy91x).
As a workaround I found that building with size optimization (-Os) and explicitly enabling essential debug symbols via:

-DCONFIG_DEBUG_THREAD_INFO=y

…actually works. With that, I can build and debug inside VSCode without problems.

But: since I had to reinstall VSCode and nRF Connect last Friday, I now need to manually add -DCONFIG_DEBUG_THREAD_INFO=y before each build. nRF Connect just keeps removing it from the build config. That means before every build I have to check if it’s still there – otherwise the image can’t be debugged, and I end up re-creating the config and doing a full rebuild… only to repeat the same next time.

Is there really no persistent way to keep such options?

I wonder sometimes if anybody at Nordic is actually using the “preferred setup” (VSCode + nRF Connect on Windows 11) day to day. For me, even very basic things keep breaking on almost a daily basis…









Parents Reply Children
Related