Hello,
is there a way to display the javascript console logs or write them to a file with the cog browser?
Hello @lex,
Thanks for reaching out to the Toradex Community!
For writing the console logs to a file, you could try the console.save
method as in this solution: javascript - How to save the output of a console.log(object) to a file? - Stack Overflow
Could you please give it a try and let us know how that goes?
I have already thought about such a solution, as the last option.
I found out that it is possible to log to the console with the cli option --enable-write-console-messages-to-stdout. I will stick to that first.
Hello @lex,
That’s right, I also just found out about this cli option. With this, it should work for you. Thanks for sharing!