I've created a python program that is launched at start-up. To launch it at start-up I've appended a row to the file /etc/rc.local as follow:
sudo python3 /home/pi/myProgram.py
Every some seconds, Myprogram.py prints a debug message. When I turn on my Raspberry, I cannot view myProgram.py to run. I'm sure that it works fine because when the program starts it sends me an e-mail but I cannot view the terminal window where myProgram.py prints the debug messages. Question: How can I view output of myProgram.py in a terminal window?