Fix some nullable annotations in debug plugin.