Search code examples
node.jsnode-inspector

node-inspector window is blank


Installed node-inspector via npm install -g nodeinspector.

I can get to the dashboard but it is just blank outside of a search bar.

I've tried starting the app/inspector/browser in all various orders and reinstalled node-inspector a couple times. It was suggested to manually install the connect and async modules and I did, but to no avail.

Any help?

enter image description here


Solution

  • Install it with following command:

    npm install -g node-inspector
    

    Issue command in different command prompt:

    node-inspector &
    

    Run your program/app:

    node --debug-brk your/short/node/script.js
    

    Connect to http://127.0.0.1:<PORT>/debug?port=5858 and you’re good to go!

    Browse only in a WebKit based browser: Chrome, Safari to get the debugging option.

    You can ref.: http://github.com/dannycoates/node-inspector/blob/master/readme.md