From ec4440aa10383900b023a20582df00df62e74fe7 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 968d9058c2..288f7e1f67 100644 --- a/doc/api/debugger.md +++ b/doc/api/debugger.md @@ -197,8 +197,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