diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 8461caabfc56ee..6a28107a194fda 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -590,6 +590,16 @@ Type: Runtime `node debug` corresponds to the legacy CLI debugger which has been replaced with a V8-inspector based CLI debugger available through `node inspect`. + +### DEP0069: vm.runInDebugContext(string) + +Type: Documentation-only + +The DebugContext will be removed in V8 soon and will not be available in Node +10+. + +*Note*: DebugContext was an experimental API. + [alloc]: buffer.html#buffer_class_method_buffer_alloc_size_fill_encoding [alloc_unsafe_size]: buffer.html#buffer_class_method_buffer_allocunsafe_size [`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_class_method_buffer_allocunsafeslow_size diff --git a/doc/api/vm.md b/doc/api/vm.md index a8817ebacdf747..b8047d8f36f1e3 100644 --- a/doc/api/vm.md +++ b/doc/api/vm.md @@ -313,6 +313,8 @@ console.log(util.inspect(sandbox)); added: v0.11.14 --> +> Stability: 0 - Deprecated. An alternative is in development. + * `code` {string} The JavaScript code to compile and run. The `vm.runInDebugContext()` method compiles and executes `code` inside the V8