This is absolutely true, but it mostly applies when your code is in development. Inevitably you will be asked to troubleshoot problems in production. So you'll need to learn how to read and understand log files. You should also learn how and when to log actions in your program.
That last sentence is part of my piece of advice: Try to add stuff (comments, logging statements, etc) to your projects that will make things easier in the future, either for you or other developers.
That last sentence is part of my piece of advice: Try to add stuff (comments, logging statements, etc) to your projects that will make things easier in the future, either for you or other developers.