Node.js debugger: does not recognize "prompt"


The REPLit Node.js runtime adds prompt functionality. But if I try to run the debugger on Node.js code with a prompt call in it I get “prompt is undefined” (which is of course the case in default Node.js).

Is this fixable? Are there other hidden quirks of the REPLit-flavoured Node.js runtime environment I should be aware of?

It’s just like a normal Node.js build.

Well the “just like” is the whole issue right? It’s not exactly like one.