FIX: Detection of debug mode.