Skip to content

Commit fedf26b

Browse files
ideitaloacasas
authored andcommittedFeb 28, 2017
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: #11495 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gibson Fahnestock <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Josh Gavant <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
1 parent d0483ee commit fedf26b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

Diff for: ‎doc/api/debugger.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -190,8 +190,8 @@ V8 Inspector can be enabled by passing the `--inspect` flag when starting a
190190
Node.js application. It is also possible to supply a custom port with that flag,
191191
e.g. `--inspect=9222` will accept DevTools connections on port 9222.
192192

193-
To break on the first line of the application code, provide the `--debug-brk`
194-
flag in addition to `--inspect`.
193+
To break on the first line of the application code, pass the `--inspect-brk`
194+
flag instead of `--inspect`.
195195

196196
```txt
197197
$ node --inspect index.js

0 commit comments

Comments
 (0)
Please sign in to comment.