debugMode for stable version 2