summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJosh Gavant <josh.gavant@outlook.com>2017-05-03 12:02:03 -0700
committerAnna Henningsen <anna@addaleax.net>2017-10-23 17:17:16 +0200
commit88e55fe5e0dc0c8da72a64677b278b41d5e5ed22 (patch)
tree28010206dd5c6a9a32af5997d055ef9663ba6785 /doc
parent3e25e4d00f382641af1c78a28b02296bef686c1e (diff)
downloadnode-new-88e55fe5e0dc0c8da72a64677b278b41d5e5ed22.tar.gz
vm: deprecate vm.runInDebugContext
PR-URL: https://github.com/nodejs/node/pull/12815 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/deprecations.md2
-rw-r--r--doc/api/vm.md5
2 files changed, 6 insertions, 1 deletions
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md
index 75c5c0feb5..10db311e88 100644
--- a/doc/api/deprecations.md
+++ b/doc/api/deprecations.md
@@ -598,7 +598,7 @@ a V8-inspector based CLI debugger available through `node inspect`.
<a id="DEP0069"></a>
### DEP0069: vm.runInDebugContext(string)
-Type: Documentation-only
+Type: Runtime
The DebugContext will be removed in V8 soon and will not be available in Node
10+.
diff --git a/doc/api/vm.md b/doc/api/vm.md
index 230054cba9..3dd7a3c8dc 100644
--- a/doc/api/vm.md
+++ b/doc/api/vm.md
@@ -313,6 +313,11 @@ console.log(util.inspect(sandbox));
## vm.runInDebugContext(code)
<!-- YAML
added: v0.11.14
+deprecated: v8.0.0
+changes:
+ - version: REPLACEME
+ pr-url: https://github.com/nodejs/node/pull/12815
+ description: Calling this function now emits a deprecation warning.
-->
> Stability: 0 - Deprecated. An alternative is in development.