Issue
Title says it all. I am wondering if i can display javascript console.log
in eclipse console rather than web browser's dev console?
Solution
Just found an href="http://z0ltan.wordpress.com/2012/12/04/configuring-eclipse-to-run-standalone-javascript-files-using-node-jsgoogle-v8-engine/" rel="nofollow">article regarding this.
This is How it works(For Window 7).
- Install Node.js javascript engine at Node.js
Open your Eclipse, in the menu
Run->External Tools->External Tools Configuration
Create new launch configuration under program category.
Set
Location : C:\WINDOWS\system32\cmd.exe
Working Directory : C:\WINDOWS\system32
Argument : /c "node ${resource_loc}"
Now create new environment variable 'node' refers to node.exe file(wherever you installed)
All done.
Answered By - ringord
Answer Checked By - David Marino (JavaFixing Volunteer)