add console debug output