Added some debug information console output.