Check for debug mode.