Match example to node inspector doc
This commit is contained in:
parent
4b0b875d6f
commit
48eaee0c0e
1 changed files with 3 additions and 5 deletions
|
@ -16,12 +16,10 @@ Electron will listen for V8 debugger protocol messages on the specified `port`,
|
|||
an external debugger will need to connect on this port. The default `port` is
|
||||
`5858`.
|
||||
|
||||
An example debug command on the default port:
|
||||
```shell
|
||||
electron --debug=5858 your/app
|
||||
```
|
||||
|
||||
```
|
||||
$ node_modules/.bin/electron --debug=5859 .
|
||||
# main process runs...
|
||||
```
|
||||
### `--debug-brk=[port]`
|
||||
|
||||
Like `--debug` but pauses execution on the first line of JavaScript.
|
||||
|
|
Loading…
Reference in a new issue