Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants