DebugLog
Monkey Forums/Monkey Programming/DebugLog
| ||
For some reason my DebugLogs have stopped being output to the small window underneath the canvas in HTML5. I am using Chrome, and they are all being sent to / caught by the Javascript Console in the Developer Tools (F12) within Chrome. It works great in v69 but I've recently moved to v73b and I guess something has changed behind the scenes in Monkey to cause the issue. Does anyone know what I can do to get it back the way it was? |
| ||
You'll need to edit the modules/monkey/native/lang.js file: Change: function debugLog( str ){ if( window.console!=undefined ) window.console.log( str ); } To: function debugLog( str ){ if( window.console!=undefined ) window.console.log( str ); print(str); } So just basically adding the print command. Or you could just change your DebugLog commands to Print commands. |
| ||
Ahaaaa, thank you mate! :) |