extracted environment from debug plugin
improved language file problem detection