Moves printdebug to base