Added log debug output to the Modules