Live develop your nodejs app and inspect its state, from a nodejs-workspace in Lively Web!
nodejs code injection, extraction, and evaluation. Can evaluate in the context of modules by using lively.vm.
Also supports nodejs process creation for "workspace processes". Controlled either directly via the evaluator / process interfaces or via websockets. Ws server is part of the package.
npm install code-pump --save-dev
PATH=$(npm bin):$PATH code-pump localhost:9004
Then connect as in 3. above.
Given a file
some-module.js in the base directory of your app that includes
var internalState = of: module: 23;
you can access it via
var e = evaluator;e; // => 23
var p = process;p;
If you want your own client then setup a server like above
In your client (nodejs or browser) run
var ws = "ws://localhost:9004/";ws;ws;