Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.

console.log not working on main script #69

Open
KaKi87 opened this issue Dec 12, 2020 · 6 comments
Open

console.log not working on main script #69

KaKi87 opened this issue Dec 12, 2020 · 6 comments

Comments

@KaKi87
Copy link

KaKi87 commented Dec 12, 2020

No description provided.

@dirkk0
Copy link

dirkk0 commented Feb 28, 2021

It does work.
If you put it in main.js, it shows up on the console - if you start it on the command line, that is.
Otherwise you are not able to see it.

@KaKi87
Copy link
Author

KaKi87 commented Feb 28, 2021

I was actually talking about logging from renderer.

@dirkk0
Copy link

dirkk0 commented Feb 28, 2021

ok, that would be the js in app.html, and same thing, if you open the developer console, you should be able see it. I just tried it.

@KaKi87
Copy link
Author

KaKi87 commented Feb 28, 2021

Well, devtools seem to be painful to set up so I was wondering if I could just see my logs on the terminal

@KaKi87
Copy link
Author

KaKi87 commented Feb 28, 2021

In the meantime I used Eruda, which works well, for a temporary solution.

@dirkk0
Copy link

dirkk0 commented Feb 28, 2021

@Console you could send the logs to the nodejs/server side with messageUI.send('message-to-server', message) and console log them there.
@Eruda wasn't aware of that, thanks for sharing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants