Arduino Portenta H7 Lite External Power and Serial Monitor

I'm using a 5V power supply to power my Arduino Portenta H7 Lite using the VIN pin, however I still need to print and read things from the serial monitor using the USB-C port. If I connect both at the same time, could it break the board? Will the board receive power from the USB port or VIN pin?