Tutorial for local js debugging / Tip for easy readline() emulation

So the JS version now uses node 20.9.0. How is the readline() still working in codingame?