sigh, legacy cruft PHP4 constructors hitting back. PHP Fatal error:  Constructor Debug::debug() cannot be static. So debug function shall be called, very creatively, just d.