Open _nRF Connect_ console and build the program:
```
cd app
west build --pristine --board nrf5340dk/nrf5340/cpuapp/ns --no-sysbuild -- -DCONFIG_DEBUG_OPTIMIZATIONS=y -DCONFIG_DEBUG_THREAD_INFO=y -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
```