nw.js: node-main: errors and console.log not redirected to webkit console

tested with nw version: 0.8 and 0.9.2 on windows

We had errors in our script that is used as node-main. Unfortunately neither the errors nor console.log appeared in the webkit console. Not even in the terminal.

We could only retrieve the errors by logging them to file, having a big try/catch block around everything.

Apart from this bug, I would propose two new options for package.json, one for logging everything (errors, console.whatever from windows and node-main) to a log-file and one for logging everything to the terminal.

Thanks a lot. Great tool! 😃

p.s. Linux shows errors in terminal (on windows nw seems to create a child process)

<bountysource-plugin>

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource. </bountysource-plugin>

About this issue

  • Original URL
  • State: closed
  • Created 10 years ago
  • Comments: 15

Most upvoted comments