Page 1 of 1
Is there a way to view console.log output?

Posted:
Wed Mar 12, 2014 7:20 am
by p2premote
I would like to know if it possible to view console.log() output with emulator or real tv, and I am already aware that alert() does not work.
Thanks.
Is there a way to view console.log output?

Posted:
Wed Mar 12, 2014 7:20 am
by p2premote
I would like to know if it possible to view console.log() output with emulator or real tv, and I am already aware that alert() does not work.
Thanks.
Re: Is there a way to view console.log output?

Posted:
Wed Mar 12, 2014 7:20 am
by SDK_STA
Hi,
yes, this is possible: in the emulator, you can watch the console information using the built-in debugger. For this, once the page is loaded in the emulator, right-click on the page and click \"Inspect Element\". Then, you can access the console logging in the tab \"Console\". You can log the console messages using \"console.log('message')\" in Javascript. For more information please refer to the manual.
Re: Is there a way to view console.log output?

Posted:
Wed Mar 12, 2014 7:20 am
by p2premote
Thank you! Just tried and it works.
Re: Is there a way to view console.log output?

Posted:
Mon Mar 17, 2014 12:47 pm
by SDK_STA
Hi,
yes, this is possible: in the emulator, you can watch the console information using the built-in debugger. For this, once the page is loaded in the emulator, right-click on the page and click "Inspect Element". Then, you can access the console logging in the tab "Console". You can log the console messages using "console.log('message')" in Javascript. For more information please refer to the manual.
Re: Is there a way to view console.log output?

Posted:
Wed Mar 19, 2014 12:38 pm
by p2premote
Thank you! Just tried and it works.