Browse Source

Merge pull request #4153 from sunaiwen/patch-1

Update debugging-main-process.md
Kevin Sawicki 9 years ago
parent
commit
01e1d0dfef
1 changed files with 2 additions and 2 deletions
  1. 2 2
      docs/tutorial/debugging-main-process.md

+ 2 - 2
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.