Node - inspector window is empty

A node inspector is installed via npm install -g nodeinspector.

I can get to the toolbar, but it is just empty outside the search bar.

I tried to launch the application / inspector / browser in all the different orders and reinstall the node inspector a couple of times. It was suggested to manually install the connection and asynchronization modules, and I did it, but to no avail.

Any help?

enter image description here

+6
source share
3 answers

Install it with the following command:

npm install -g node-inspector 

Run the command on another command line:

 node-inspector & 

Run the program / application:

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

Connect to http://127.0.0.1:<PORT>/debug?port=5858 and you will go well!

View only in a browser based on WebKit: Chrome, Safari to get debugging capabilities.

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

+6
source

I also met a blank page when I entered firefox (10.0.11) with the address http://127.0.0.1:8080/debug?port=5858 .
But the node inspector works fine after I switched to Chrome (version 23.0.1271.97).

0
source

This usually happens when you have an add blocker, antivirus, or similar program that prevents communication between the inspector and the chrome instance.

For me, the problem was the download manager program, which was supposed to capture downloads from the browser, as soon as I killed it, the inspector worked fine

0
source

Source: https://habr.com/ru/post/926702/


All Articles