You can output STM trace data directly to the console in real-time or from a file. This is useful for immediate analysis or when you want to pipe the output to other tools.
The following command outputs trace data from a file to standard output in ASCII format, which is the default output type:
nrfutil trace stm --input-file stm_trace.bin
To output binary data instead, use the --output-type option:
nrfutil trace stm --input-file stm_trace.bin --output-type binary