UNPKG

bugger-v8-client

Version:
22 lines (20 loc) 443 B
'use strict'; module.exports = function(DebugClient) { DebugClient.prototype.setVariableValue = function setVariableValue(name, newValue, ctx) { var opts = { name: name, newValue: newValue, scope: { frameNumber: ctx.frame, number: ctx.scope } }; return ( this._sendRequest('setVariableValue', opts) .then(function() { // no response expected }) ); }; };