As the title states, when opening the serial port (via Monitor for example), the ESP32 freezes.
It really doesn't matter if the Serial.begin is called or not, it will freeze anyways.
I tested this with different cables, different ports, different computers - nothing works and seems to be a problem of the ESP32 only, since ESP8266 work correctly.
My board is the ESP32-CAM-MB and it works seamlessly until the serial port is opened. I tested running a simple blink code and the blink would stop whenever the serial port was opened.
Does anyone has fix for this?