Commit 21e60643 authored by Ben Noordhuis's avatar Ben Noordhuis Committed by Trevor Norris
Browse files

lib, src: add vm.runInDebugContext()



Compiles and executes source code in V8's debugger context.  Provides
a programmatic way to get access to the debug object by executing:

    var Debug = vm.runInDebugContext('Debug');

Fixes #7886.

Reviewed-by: default avatarTrevor Norris <trev.norris@gmail.com>
parent 174f7d28
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment