Browse files

doc: deprecate vm.runInDebugContext

Docs-only deprecation for v8.0.0.
Runtime deprecation planned for v9.0.0.
Removal planned for v10.0.0.

PR-URL: #12243
Reviewed-By: Ali Ijaz Sheikh <>
Reviewed-By: Anna Henningsen <>
Reviewed-By: James M Snell <>
  • Loading branch information...
joshgav committed May 3, 2017
1 parent d56a7e6 commit eb535c5154306e9024a80ee16ecabaee0bfcef62
Showing with 12 additions and 0 deletions.
  1. +10 −0 doc/api/
  2. +2 −0 doc/api/
@@ -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`.
<a id="DEP0069"></a>
### DEP0069: vm.runInDebugContext(string)
Type: Documentation-only
The DebugContext will be removed in V8 soon and will not be available in Node
*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
@@ -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

0 comments on commit eb535c5

Please sign in to comment.