function (mode) {
            var debug = this.isDebug();
            if (debug !== mode && (mode === true || mode === false)) {
                ariaCoreAppEnvironment.setEnvironment({
                    "appSettings" : {
                        "debug" : mode
                    }
                }, null, true);
            }
        }
function (mode) {
            var debug = this.isDebug();
            if (debug !== mode && (mode === true || mode === false)) {
                ariaCoreAppEnvironment.setEnvironment({
                    "appSettings" : {
                        "debug" : mode
                    }
                }, null, true);
            }
        }
function ( mode ) { var debug = this . isDebug ( ) ; if ( debug !== mode && ( mode === true || mode === false ) ) { ariaCoreAppEnvironment . setEnvironment ( { "appSettings" : { "debug" : mode } } , null , true ) ; } }
Enable debug mode, and notify listeners.
@public
@param {Boolean} mode
Enable debug mode and notify listeners .