Utilizing two different serial ports simultaneously on a due
You can't use MIDI on Serial and use Serial.print at the same time. You can though use MIDI on Serial1 and use Serial.print at the same time (or Serial2 etc).