provegard / ncdbg

A debugger for Nashorn that uses Chrome DevTools as frontend
BSD 3-Clause "New" or "Revised" License
31 stars 5 forks source link

Handle generatePreview true for Runtime.getProperties and more #1

Closed provegard closed 7 years ago

provegard commented 7 years ago

Clues:


sdk/RemoteObject.js
-------------------
843 SDK.ScopeRemoteObject = class extends SDK.RemoteObjectImpl {

 898     // Scope objects always fetch preview.
 899     generatePreview = true;
provegard commented 7 years ago

Also:

provegard commented 7 years ago

https://github.com/nodejs/node/blob/8f00455c5194154ce909ddac6488ae2e42976a4c/deps/v8_inspector/src/inspector/injected-script-source.js