function setConfig(configUpdate) {
        var config = setConfig.config;
        Object.keys(configUpdate).forEach(function (key) {
            config[key] = configUpdate[key];
        });

        ScopeManager._setConfig(configUpdate);
    }
Sets the configuration, generally for testing/debugging use.
Configuration keys are merged into the current configuration.
The Tern worker is automatically updated to the new config as well.

* debug: Set to true if you want verbose logging
* noReset: Set to true if you don't want the worker to restart periodically

@param {Object} configUpdate keys/values to merge into the config