Debug added to plugins