Added debug wrapper and made sure thi plugin is load first of all plugins.