From fedf26b23551d5a5a8e871df22f4a355793effbf Mon Sep 17 00:00:00 2001 From: James Ide Date: Tue, 21 Feb 2017 23:33:57 -0800 Subject: [PATCH] doc: update V8 debugger doc to mention --inspect-brk Node now supports the `--inspect-brk` flag, which does the same thing as `--inspect --debug-brk`. One thing that's nice about the new flag is that it uses "inspect" language -- this is a suggested update to the docs. PR-URL: https://github.com/nodejs/node/pull/11495 Reviewed-By: Colin Ihrig Reviewed-By: Gibson Fahnestock Reviewed-By: James M Snell Reviewed-By: Josh Gavant Reviewed-By: Joyee Cheung --- doc/api/debugger.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/debugger.md b/doc/api/debugger.md index 7112b403fe35f3..b170ac6852ad22 100644 --- a/doc/api/debugger.md +++ b/doc/api/debugger.md @@ -190,8 +190,8 @@ V8 Inspector can be enabled by passing the `--inspect` flag when starting a Node.js application. It is also possible to supply a custom port with that flag, e.g. `--inspect=9222` will accept DevTools connections on port 9222. -To break on the first line of the application code, provide the `--debug-brk` -flag in addition to `--inspect`. +To break on the first line of the application code, pass the `--inspect-brk` +flag instead of `--inspect`. ```txt $ node --inspect index.js