New helper to detect development mode