From b9c9da3f4e619b2056b2cc6b162a59d504aaab31 Mon Sep 17 00:00:00 2001 From: Niven Su Date: Tue, 19 Jan 2016 13:49:49 +0800 Subject: [PATCH] Update debugging-main-process.md fix doc typo --- docs/tutorial/debugging-main-process.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorial/debugging-main-process.md b/docs/tutorial/debugging-main-process.md index 73710211e3..6fbb858bc2 100644 --- a/docs/tutorial/debugging-main-process.md +++ b/docs/tutorial/debugging-main-process.md @@ -60,13 +60,13 @@ or, to pause your script on the first line: $ electron --debug-brk=5858 your/app ``` -### 5. Start the [node-inspector][node-inspector] server using electron +### 6. Start the [node-inspector][node-inspector] server using electron ```bash $ ELECTRON_RUN_AS_NODE=true path/to/electron.exe node_modules/node-inspector/bin/inspector.js ``` -### 6. Load the debugger UI +### 7. Load the debugger UI Open http://127.0.0.1:8080/debug?ws=127.0.0.1:8080&port=5858 in the Chrome browser. You may have to click pause if starting with debug-brk to see the entry line.