Debugging guide

Includes recipes to help determine the origin of and fix error messages.