How to display javascript console.log in eclipse console?

The name says it all. I am wondering if I can display javascript console.login the eclipse console and not in the dev console web browser?

+4
source share
1 answer

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( )

.

0

Source: https://habr.com/ru/post/1570775/


All Articles