This is a problem with recent versions of node incompatible with the Eclipse JDST debugger node.js.
I get the same error in Eclipse when using node 8.9.4. Tried a lot of things in Eclipse, nothing worked.
So, I tried node.js release from the middle of 2016, version 4.8.7. This was released around the time the Eclipse JSDT / node integration was announced ( http://www.eclipse.org/community/eclipse_newsletter/2016/may/article3.php ). This version of node.js works great with the latest releases of Eclipse.
Perhaps something insignificant that interferes. The latest version displays the message: "Invalid values: node --debug and node --debug-brk are invalid. Use node --inspect or node --inspect-brk ." This is given as a warning, but perhaps this is the main problem, maybe node.js refuses when viewing --debug. Unfortunately, I do not see how this could be changed in Eclipse without changing the code.
The latest version of node that works is version 7. Starting with 8.0.0, it does not work.
source share