diff options
author | James Ide <ide@jameside.com> | 2017-02-21 23:33:57 -0800 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-02-27 13:58:18 -0800 |
commit | ec4440aa10383900b023a20582df00df62e74fe7 (patch) | |
tree | 943935c6a26fe5e2cf1f574d4878de14758f914a /doc/api/debugger.md | |
parent | c2e838ee13244dd3dbd98ed86ef1966fe7cd90f1 (diff) | |
download | android-node-v8-ec4440aa10383900b023a20582df00df62e74fe7.tar.gz android-node-v8-ec4440aa10383900b023a20582df00df62e74fe7.tar.bz2 android-node-v8-ec4440aa10383900b023a20582df00df62e74fe7.zip |
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 <cjihrig@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Josh Gavant <josh.gavant@outlook.com>
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Diffstat (limited to 'doc/api/debugger.md')
-rw-r--r-- | doc/api/debugger.md | 4 |
1 files 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 |