Console.log() in pluggable widget doesnt work?

0
Hi, I’m working with the new pluggable widgets, but I can’t seem console.log() to work. Anyone have any idea how I can log things to the console either in a Mendix app or in the simple Google Chrome console for pluggable widgets? Would helpful with debugging.
asked
3 answers
0

I don’t think console.log pops up in the Studio Pro console. Console.info and warn / error do. Console.log should be available in the browser console of Chrome if you set the log levels to ‘Verbose’.

answered
0

You can use the devtools debugger to debug your sourcecode in the browser. Look for your source files in the webpack node.

answered
0

Thanks Ivo, I was indeed looking for a way to get things to pop up in the Chrome log console. Also thanks for your post on another one of my questions. Console.dir() works best for me as it displays full object trees. I’ve also found it helpful to use the alert() function in some cases while testing.

answered