Added debug info output.