make v2 App#debug_mode reflect the actual mode