Added print to print debug message as a plugin.