REPL
Read-Evaluate-Print-Loop (REPL) es un entorno de programación sencillo e interactivo que permite a los usuarios introducir comandos (ej. expresiones sencillas), los evalúa, y devuelve los resultados.
Proceso principal
Electron expone el módulo Node.js repl
a través de la bandera de CLI --interactiva
. Assuming you have electron
installed as a local project dependency, you should be able to access the REPL with the following command:
./node_modules/.bin/electron --interactive
info
electron --interactive
is not available on Windows (see electron/electron#5776 for more details).
Proceso de renderizado
You can use the DevTools Console tab to get a REPL for any renderer process. To learn more, read the Chrome documentation.