]> khamidou — GitHub mirrors - electron.git/commitdiff
Correct link of debugging UI
authorKyle Hornberg <kyle.hornberg@gmail.com>
Tue, 12 May 2015 15:29:00 +0000 (10:29 -0500)
committerKyle Hornberg <kyle.hornberg@gmail.com>
Tue, 12 May 2015 15:29:00 +0000 (10:29 -0500)
Using the link provided one receives a response of `Cannot GET /[object%20Object]`.

I've tested this on electron 0.25.3 using the example application and node-inspector version 0.10.0.
The url change is the url provided by node-inspector in the terminal window.

docs/tutorial/debugging-main-process.md

index 857f26faa4d741216877a812fdb60f0d147426f7..5874dc5e779eb502b82860db764a4a8f9ac4dd9c 100644 (file)
@@ -44,6 +44,6 @@ $ electron --debug-brk=5858 your/app
 
 ### 3. Load the debugger UI
 
-Open http://127.0.0.1:8080/debug?port=5858 in the Chrome browser.
+Open http://127.0.0.1:8080/debug?ws=127.0.0.1:8080&port=5858 in the Chrome browser.
 
 [node-inspector]: https://github.com/node-inspector/node-inspector