Community Tip - If community subscription notifications are filling up your inbox you can set up a daily digest and get all your notifications in a single email. X
Hello,
I try to debug my custom widget with the lines like this:
TW.log.warn('Test....');
but this aren't displayed anywhere (navigateur console or thingworx log mashup). Someone knows what's going on?
Version TW used : 7.4
Thanks.
Solved! Go to Solution.
Have you try TW.log.debug instead TW.log.warn?
Do you try this logging stuff in your *.ide.js or in *.runtime.js?
I can only see logs for *.runtime.js. Add your widget to an mashup, view this mashup and click on "Show/Hide Log".
Hello David,
Do you try this logging stuff in your *.ide.js or in *.runtime.js?
In the .runtime.js
I can only see logs for *.runtime.js. Add your widget to an mashup, view this mashup and click on "Show/Hide Log".
I did do that but nothing is displayed.
Have you try TW.log.debug instead TW.log.warn?
Hello David,
Using TW.log.debug is OK when i click on "Show/Hide Log", however i can't see the log using the console tab in developer tools. For now it's fine for me.
Thanks.
You can also try debugging with console.log('text'); in runtime.js file.
And check console tab in developer tools.
Thanks
Hello,
console.log('text') doesn't work.