NPM install -g node-inspector // -g import the installation path to the environment variable Node-inspector is used to switch to debug input and output via websocket. Therefore, we need to start node-inspector to listen on the Nodejs debug port before debugging:



2:

Then debugging works ?