Uh oh!
There was an error while loading. Please reload this page.
doc: add example for running with v8-inspector - #8845
Conversation
There was a problem hiding this comment.
nit: I guess “normal” users don’t call it with the ./? 😄
There was a problem hiding this comment.
Nit: I would just use node without ./. It's unlikely that there is a node executable in the folder where the command is run.
Edit: @addaleax won the race condition here 😄.
There was a problem hiding this comment.
Nit: maybe it's better to not split this line as it is a URL. I'm not sure though because if it isn't split scrolling is required on small screens.
There was a problem hiding this comment.
Changed, no line break in url.
lpinca
commented
Sep 29, 2016
@fhinkel while you are at it s/Add/add/ in the first line of commit message. |
Add example to show what running Node.js with `--inspect` should look like. Some IDEs do not show the link when running with `--inspect`. This example hints to what the full output looks like.
cjihrig
left a comment
There was a problem hiding this comment.
LGTM, but maybe this should go after the first paragraph of the V8 inspector section.
MylesBorins
commented
Sep 29, 2016
wasn't one of the reasons for not documenting it because it was an experimental feature? /cc @nodejs/ctc I'm not neccessarily opposed to this, but I do think we should be careful about the support story in experimental features |
cjihrig
commented
Sep 29, 2016
It's already documented, and comes with a big bold warning that it's experimental. I don't think this PR adds any additional support commitment. |
MylesBorins
commented
Sep 29, 2016
I retract my original statement then. This example is a great thing to include LGTM |
jasnell
commented
Sep 30, 2016
LGTM |
Add example to show what running Node.js with `--inspect` should look like. Some IDEs do not show the link when running with `--inspect`. This example hints to what the full output looks like. PR-URL: #8845 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
jasnell
commented
Sep 30, 2016
Landed in bdb8012. Thank you! |
Add example to show what running Node.js with `--inspect` should look like. Some IDEs do not show the link when running with `--inspect`. This example hints to what the full output looks like. PR-URL: #8845 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Add example to show what running Node.js with `--inspect` should look like. Some IDEs do not show the link when running with `--inspect`. This example hints to what the full output looks like. PR-URL: #8845 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Checklist
make -j8 test(UNIX) passesAffected core subsystem(s)
doc debugger
Description of change
Add example to show what running Node.js with
--inspectshould look like.
Some IDEs do not show the link when running with
--inspect.This example hints to what the full output looks like.