Answer the question
In order to leave comments, you need to log in
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
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
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.
> 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 questionAsk a Question
731 491 924 answers to any question