Display connection between esp32, serial monitor and Nokia 5110 display

I am creating a system using esp32 to take readings from two sensors, one for temperature and the other for pressure.

All the code is ready, the data is being displayed on a Nokia 5110 LCD display. So far I haven't had any problems.

However, I have a problem when trying to display the values ​​obtained on the Nokia5110 display and the serial monitor at the same time. I can only display one or the other. I would like to know if there is a way to make the values ​​read from the sensors displayed simultaneously on the display and on the serial monitor.

Yes. it´s possible.
But post your code.