Software Archive
Read-only legacy content

Console and errors

bodhidharma482
Beginner
225 Views

Greetings,

Yesterday I have started learning javascript through codeacademy. On the website they talk about the 'console' where you can have things shown by writing 'console.log();' I haven't been able to find this console in Intel XDK however. Does Intel XDK have a console and if so where could I find it?

I have some experience programming with Processing and whilst programming, I would sometimes get an error when the code wasn't right. Does something like this also exist for Intel XDK?

I am looking forward to your replies!

Best wishes

0 Kudos
1 Solution
Diego_Calp
Valued Contributor I
225 Views

Hi,

You access the console using the Debug feature in XDK. In Emulator, Debug is the second button at top left of the screen.

This opens the Developer Tools of the Chromium browser integrated in XDK emulator. One of the tabs is Console. 

When console.log('My test message') is executed you'll see the result there.

Regards,

Diego

View solution in original post

0 Kudos
2 Replies
Diego_Calp
Valued Contributor I
226 Views

Hi,

You access the console using the Debug feature in XDK. In Emulator, Debug is the second button at top left of the screen.

This opens the Developer Tools of the Chromium browser integrated in XDK emulator. One of the tabs is Console. 

When console.log('My test message') is executed you'll see the result there.

Regards,

Diego

0 Kudos
bodhidharma482
Beginner
225 Views

Thanks!

0 Kudos
Reply