debug console commands handler moved to separate source file