From 48eaee0c0e4f987fdd4078336647ba66b53a8617 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Mon, 31 Oct 2016 09:27:42 -0700 Subject: [PATCH] Match example to node inspector doc --- docs/tutorial/debugging-main-process.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/docs/tutorial/debugging-main-process.md b/docs/tutorial/debugging-main-process.md index 5458c1b2c240..fb5759e4995f 100644 --- a/docs/tutorial/debugging-main-process.md +++ b/docs/tutorial/debugging-main-process.md @@ -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.