0

I'm new to Electron. Just trying it out today, to port a simple single-page app I have in CoffeeScript to it.

To debug something I tried console.log but nothing appears in the terminal that I launch the app. from. Is there a way to write to the terminal from inside node.js / electron?

I'm running the program with

npm start

which I guess is a wrapper for

./node_modules/.bin/electron .

But I'm guessing both suppress writing to stdout. (In node itself console.log seems to write to stdout)

interstar
  • 26,048
  • 36
  • 112
  • 180

0 Answers0