In a production environment, you can configure the application to send modem traces to Memfault. The trace files can be downloaded from Memfault for playback and analysis in the Cellular Monitor app.
For information on nRF Connect SDK samples showing how to send modem traces to Memfault, see Memfault configuration in the nRF Connect SDK documentation.