This may be a new feature in later Godot versions (than the one used in the course). Click on Debug–>Deploy with Remote Debug and you can see the print messages (such as print("Accelerometer: " + str(mobile_input)) in the Godot console directly. Avoiding the clunky method of copy-paste all messages to a text editor.
Let me know if this was mentioned anywhere in the course and I missed it.