Ask coding questions

← Back to all posts
Console log from one repl to another (JS)
h
TamoghnaK13 (10)

I was just thinking, and I am wondering - (In Node.js) Is it possible to console log from one repl and have it log in another repl instead? (Basically a remote console)

Is there a way to do this, and how?

Something related to remote console logging is at https://console.re but it didn't work for me for some reason :(

Comments
hotnewtop
Coder100 (17479)

well, yes but actually no?

you could make an HTTP server on the target repl, and it logs whatever you send it

and on your reply with the logs, you can make a request to that server.