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 Cellular Monitor.
For information on nRF Connect SDK samples showing how to send modem traces to Memfault, see NCS Memfault configuration.
See also Memfault.