Closed
Description
This is a feature request to support Node 6.3.0's V8 inspector capability (node --inspect
) from within the vm module's contexts. For example:
vm.runInNewContext(code, sandbox, {
inspect: 9999, // same as --inspect=9999
});
If it's not possible to make individual contexts inspectable, it'd also meet our needs to make other contexts inspectable if the parent Node process is running with --inspect
. Currently code that runs in other contexts isn't debuggable (ex: debugger
statements are ignored).