Prashant G
Prashant G

Reputation: 4900

JavaScript standalone IDE without browser?

So I have been looking for an IDE that allows me to run JavaScript just like Eclipse/VS would allow me to write Java/C#. I want to write some code and see the output on the console (possibly within the IDE itself), without having to open the browser. I know you can run JS programs from command line using node file.js. But I'm trying to avoid having to do that every time. I want to press a run button and see the results on the console. Is there something already out there. Can I configure my IDE in certain way to achieve that? Thanks in advance.

Upvotes: 0

Views: 1311

Answers (4)

Vladik Y
Vladik Y

Reputation: 411

Try Visual Studio Code, it is open source and free.

https://code.visualstudio.com/docs/runtimes/nodejs

Upvotes: 1

Jamie
Jamie

Reputation: 88

You can debug browser js with any jetbrains IDE, however I find chrome to be much better for debugging browser code than the jetbrains plugin. You can easily debug node by editting your debug configurations in any jetbrains IDE. Just download the node plugin https://www.jetbrains.com/help/idea/2016.1/running-and-debugging-node-js.html

Upvotes: 0

João Martins
João Martins

Reputation: 332

Try this:

Is there a javaScript engine where I can run my code without being forced to use a browser?

A lot of alternatives of command-line and engines to try js without the need of a browser.

Upvotes: 0

user37741
user37741

Reputation: 380

Take a look at Atom https://atom.io/ for the editor with embedded console and excellent JavaScript support (actually it's a browser inside).

Upvotes: 2

Related Questions