I'm trying to use node-inspector with a simple script. I have some console logs, so I can tell whether this is going on or not I have tried two ways:
-
node-debug test.js
With this approach, the debugger opens in chrome, but I do not have breaks and runs without giving me the chance to enter the break points. Go to http://127.0.0.1:8080/debug?port=5858 to begin debugging in Terminal Window # 1
~ $ node-inspector node inspector v0.9.2.
In Open Debugger Terminal Window # 2 in Chrome:
Node - Debug-Brack Test. JS
The script is waiting, but I have not been able to open the debugger window, so I refresh the page. As soon as I do, I see my console logs (not breaking).
I am running OSX Yosemite (10.10.1), node.js v0.12.0, NPM 2.5.1, and node-inspector v0.9.2.
Why is any thoughts happening?
This is a known bug while running node v0.12 and io.js,
No comments:
Post a Comment