Reading data received from Nextion on Serial Monitor

To be clear, both utilities require a spare, unused serial port to work. A Uno does not have a spare serial port, the one it has is used by the serial monitor. A Mega has 3 serial ports in addition to the one used by the serial monitor, a Nano Every has 1 spare serial port. There are other boards with spare serial ports too, but I am not even going to try to list them.