Skip to content

v8_inspector: Support the V8 debugger from within VM contexts #7593

Closed
@ide

Description

@ide

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).

Metadata

Metadata

Labels

feature requestIssues that request new features to be added to Node.js.inspectorIssues and PRs related to the V8 inspector protocolvmIssues and PRs related to the vm subsystem.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions