bugger-v8-client
Version:
Client for v8 debug protocol
18 lines (13 loc) • 330 B
JavaScript
(function wrapper() {
var inScope = 'closedOver';
function clazz() {
this.attr = 'v';
}
clazz.prototype.fn = function _fn(arg) {
console.log('before brk', this.attr, typeof clazz);
debugger;
console.log('after brk', arg, inScope, typeof clazz);
};
var inst = new clazz();
inst.fn('param');
})();