FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

doc: update vm.runInDebugContext() example by bnoordhuis · Pull Request #6757 · nodejs/node · GitHub

/ node Public

doc: update vm.runInDebugContext() example - #6757

Merged
bnoordhuis merged 1 commit into
nodejs:masterfrom
bnoordhuis:fix4862
May 16, 2016
Merged

doc: update vm.runInDebugContext() example#6757
bnoordhuis merged 1 commit into
nodejs:masterfrom
bnoordhuis:fix4862

Conversation

Copy link
Copy Markdown
Member

The debugger needs to be active now before one is allowed to query the
list of scripts. Replace the example with one that works without
installing a debug event listener first.

Fixes: #4862

R=@thealphanerd

bnoordhuis added doc Issues and PRs related to the documentations. vm Issues and PRs related to the vm subsystem. lts-watch-v4.x labels May 14, 2016

cjihrig commented May 15, 2016

Copy link
Copy Markdown
Contributor

LGTM, but this seems to be the only example in the vm docs that doesn't require('vm').

Copy link
Copy Markdown
Contributor

LGTM

The debugger needs to be active now before one is allowed to query the
list of scripts.  Replace the example with one that works without
installing a debug event listener first.

Fixes: nodejs#4862
PR-URL: nodejs#6757
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
bnoordhuis closed this May 16, 2016
bnoordhuis deleted the fix4862 branch May 16, 2016 06:11
bnoordhuis merged commit f17b949 into nodejs:master May 16, 2016

Copy link
Copy Markdown
Member Author

Landed with added const vm = require('vm'); in f17b949. Thanks for the review.

evanlucas pushed a commit that referenced this pull request May 17, 2016
The debugger needs to be active now before one is allowed to query the
list of scripts.  Replace the example with one that works without
installing a debug event listener first.

Fixes: #4862
PR-URL: #6757
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
MylesBorins pushed a commit that referenced this pull request May 18, 2016
The debugger needs to be active now before one is allowed to query the
list of scripts.  Replace the example with one that works without
installing a debug event listener first.

Fixes: #4862
PR-URL: #6757
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
MylesBorins pushed a commit that referenced this pull request May 18, 2016
The debugger needs to be active now before one is allowed to query the
list of scripts.  Replace the example with one that works without
installing a debug event listener first.

Fixes: #4862
PR-URL: #6757
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
MylesBorins mentioned this pull request May 18, 2016
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations. vm Issues and PRs related to the vm subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL