Community
cancel
Showing results for 
Search instead for 
Did you mean: 
bodhidharma482
Beginner
60 Views

Console and errors

Jump to solution

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

Tags (2)
0 Kudos
1 Solution
Diego_Calp
Valued Contributor I
60 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

2 Replies
Diego_Calp
Valued Contributor I
61 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

bodhidharma482
Beginner
60 Views

Thanks!

Reply