It would be useful if anything printed was sent to the browser’s console for HTML5 builds.
1 Like
Html builds are currently always release mode but it will soon be possible to build debug that outputs errors and prints in the console.
6 Likes
This functionality would be very useful, particularly for identifying problems that are only in HTML5 (as example)
1 Like
This works in recent versions of Defold. When you bundle your HTML5 game through Project->Bundle->HTML5 Application you now get an option to either bundle a release or debug version. If you don’t tick the release checkbox all prints’s will end up in the browser console.
2 Likes
It’s work, thanks! Very helpful!
I think that “Project->Build HTML and Launch” must be Debug mode by default as “Project->Build and Launch”.
3 Likes