Display serial monitor on a tft

Hi,

Im new to platformio, have always used esphome.

I currently have a project that i have a working script that displays 3 temps sensors, 1 humidity, wifi and lte ip’s, signal strengths, gps location, battery voltage etc and that all works great and it publish’s the info to mqtt for home assistant.

Is it possible to mirror the serial output to a onboard tft, so i can view it on the device for testing? i cannot get it to work so far, i can print certain sensors to the screen but on some of then as soon i i put the tft.print() in the code it breaks the mqtt connection and i cannot work out how.

i did try to run webserial as i thought this would display all the info like the serial monitor but it does not

any help would be great as i have been trying to get this to work for days lol

Thanks