In this short section, I'd like to give you a few tips that come from my troubleshooting experience.
Troubleshooting guidelines
Using console editors
First, get comfortable using Vim or nano as an editor, and learn the basics of the console. When things break, you don't have the luxury of your editor with all the bells and whistles there. You have to connect to a box and work from there. So it's a very good idea to be comfortable browsing your production environment with console commands, and be able to edit files using console-based editors, such as vi, Vim, or nano. Don't let your usual development environment spoil you.