More debug logging when loading plugins