I am working on a Node.js app, and am currently debugging it, and I was wondering if it is possible to have a repl running that could change variables defined in the node application itself, not in the REPL's context, is this possible?
For example, i could enter var app = express() into the REPL, and it would also set the variable in the server itself.
If so, how would I go about implementing it and making it secure?