I try to debug my custom widget with the lines like this:
but this aren't displayed anywhere (navigateur console or thingworx log mashup). Someone knows what's going on?
Version TW used : 7.4
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".
In the .runtime.js
I did do that but nothing is displayed.
Have you try TW.log.debug instead TW.log.warn?
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.
You can also try debugging with console.log('text'); in runtime.js file.
And check console tab in developer tools.
console.log('text') doesn't work.
Retrieving data ...