function peekTheMessage() {
    client.req({
        'command': 'evaluate',
        'arguments': {
            'expression': 'global.message',
            'global': true
        }
    }, function (err, body, res) {
        if (err) {
            throw new Error(err);
        }
        console.log('peek successful', body.text);
    });
}
/**
 * peek on the global variable named message
 *
 */
peek on the global variable named message
peek on the global variable named message
function peekTheMessage() {
    client.req({
        'command': 'evaluate',
        'arguments': {
            'expression': 'global.message',
            'global': true
        }
    }, function (err, body, res) {
        if (err) {
            throw new Error(err);
        }
        console.log('peek successful', body.text);
    });
}
function peekTheMessage ( ) { client . req ( { 'command' : 'evaluate' , 'arguments' : { 'expression' : 'global.message' , 'global' : true } } , function ( err , body , res ) { if ( err ) { throw new Error ( err ) ; } console . log ( 'peek successful' , body . text ) ; } ) ; }
peek on the global variable named message
peek on the global variable named message