I have a problem in which I write a VERY simple program for the ESP32 using the Arduino IDE. I am trying to write something to the Serial output, but in the console I only get gibberish. I do get the data, but it's not formatted in the way it needs to be. Here is a screenshot:

As you can see, the code is very simple. The console is on the right rate, but the input looks like crap. I have tried using different forms, like Serial.write and Serial.print, but they all seem to not work.
I just expect to get "Testline" on different lines, which does happen sometimes, but it's not consistent.
I am using the NodeMCU-ESP32 ESP32 DEVKITV1
