A
A
Alexander2016-01-09 04:07:04
JavaScript
Alexander, 2016-01-09 04:07:04

Is there a console (terminal) to execute JavaScript like in ChromeDevTools but separate?

I really like how browser consoles have evolved (FireBug, ChromeDevTools), it's very convenient to debug the code.
But sometimes it becomes necessary to test some code interactively.
Right now I'm using node.js in Windows PowerShell, but I really lack code hints (object properties and methods) and a handy JSON browsing tree.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexander, 2016-02-10
Cheshirsky @h_m

UPD. It turns out there is an Interactive Window in VisualStudio, this is what I needed!
https://github.com/Microsoft/nodejstools/wiki/Inte...
UPD. A cross platform NodeJS REPL application based on Electron and React frameworks mancy-re.pl

S
Sergey Petrenko, 2016-01-09
@digitalHitler

Here, for example: danielgtaylor.github.io/nesh
UPD: by the way, there is such a wonderful thing as CodeRunner: https://coderunnerapp.com
But apparently, only under OS X.

V
VZVZ, 2016-01-09
@VZVZ

> ChromeDevTools
You can create this yourself by integrating a browser engine (based on CEF or WebKite) into your application. It will also include ChromeDevTools.
You will get an application in which there is nothing superfluous, only 1 browser page (or several) and these same ChromeDevTools.
Moreover, JS will be full-fledged there, with DOM support, because there is a real page.
For C#, there are CefSharp and OpenWebKitSharp libraries that wrap the CEF and WebKit engines, respectively.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question