mirror of
https://github.com/electron/electron.git
synced 2026-01-09 15:38:08 -05:00
Added example usage for the default port
According to Issue ##7756 I added the example usage.
This commit is contained in:
@@ -16,6 +16,12 @@ 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:
|
||||
|
||||
```
|
||||
$ node_modules/.bin/electron --debug=5859 .
|
||||
# main process runs...
|
||||
```
|
||||
### `--debug-brk=[port]`
|
||||
|
||||
Like `--debug` but pauses execution on the first line of JavaScript.
|
||||
|
||||
Reference in New Issue
Block a user