Added variable dumping to the debug class