diff --git a/doc/api/debugger.md b/doc/api/debugger.md index 968d9058c219e0..288f7e1f67cbc2 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