Serial monitor not working

Try SerialUSB instead of Serial.

Serial is the programming port on Zero and M0 Pro. M0 does not have it.
The native USB port is SerialUSB.