Added console debug.