in the terminal the following works:
node-debug build/src/main.js
I therefore assumed the following configuration would lead to the same result:
gulp.src(['build/src/main.js'])
.pipe(nodeInspector());
but I only get the following output:
[11:23:26] gulp-node-inspector is using node-inspector v0.12.8
[11:23:26] Visit http://127.0.0.1:8080/?port=5858 to start debugging.
Without the server starting, the debugger is running but no sources are available and when I navigate to the server port (localhost:3000), it is not reachable.
What is required to do to get the exact same behavior as using the node-debug command in the terminal?
in the terminal the following works:
node-debug build/src/main.jsI therefore assumed the following configuration would lead to the same result:
but I only get the following output:
Without the server starting, the debugger is running but no sources are available and when I navigate to the server port (
localhost:3000), it is not reachable.What is required to do to get the exact same behavior as using the
node-debugcommand in the terminal?