Just found an article on this.
This is how it works (for window 7).
- Install Node.js javascript engine on Node.js
Open Eclipse in the menu
Run-> External Tools-> Configuration of External Tools
Create a new launch configuration in the program category.
Set
Location: C: \ WINDOWS \ system32 \ cmd.exe
Working directory: C: \ WINDOWS \ system32
Argument: / c "node $ {resource_loc}"
"node" Node.exe( )
.