Skip to content

Conversation

@bnoordhuis
Copy link
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

@bnoordhuisbnoordhuis 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
Copy link
Contributor

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

@MylesBorins
Copy link
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 <[email protected]> Reviewed-By: Myles Borins <[email protected]>
@bnoordhuisbnoordhuis deleted the fix4862 branch May 16, 2016 06:11
@bnoordhuisbnoordhuis merged commit f17b949 into nodejs:masterMay 16, 2016
@bnoordhuis
Copy link
MemberAuthor

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 <[email protected]> Reviewed-By: Myles Borins <[email protected]>
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 <[email protected]> Reviewed-By: Myles Borins <[email protected]>
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 <[email protected]> Reviewed-By: Myles Borins <[email protected]>
@MylesBorinsMylesBorins mentioned this pull request May 18, 2016
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docIssues and PRs related to the documentations.vmIssues and PRs related to the vm subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@bnoordhuis@cjihrig@MylesBorins