Languages

Menu
Sites
Language
Debug a web widget on 2.3.2?

I'm using Tizen Studio to develop a widget for wearable 2.3.2. It looks like I cannot do console.log to debug either the widget or the main app as the IDE detects there is a widget inside my project and gives me this message:

 

The web console logging API (console.log, console.info, console.warn, console.error) has been disabled.
Web Widget project does not support it.

 

Okay so why is there this line in the release note: https://developer.tizen.org/ko/tizen/tizen-2.3.2-wearable-release-notes

Javascript API

  • console.log() method has been added for debugging a Web widget.

 

What are some other methods to try? Not sure why you guys make an IDE for developers without the debugging option.

Responses

3 Replies
Armaan-Ul- Islam

Hello,

I am also receiving the same message in the console window for my Widget application whether I add a console.log or not:

The web console logging API (console.log, console.info, console.warn, console.error) has been disabled.
Web Widget project does not support it.

 

There could be any other method but I didn't find one. You may report a bug...

https://www.tizen.org/community/bug-tracker/how-report-bugs?langswitch=en&langredirect=1

Le Hoang

I think it is not a bug but a limitation of the current IDE. I have no ideas why it is not included though. Developing apps without debugging is like shooting in the dark. Can someone from the IDE team help me with this problem?

Shinjae Lee

Dear all,

Plz check below URL. 

https://developer.tizen.org/development/guides/web-application/application-management/applications/widget-application#debug

Hope this helps.