How can I get console.log output from my mobile ON the mobile device?
问题 I do a lot of my dev work from mobile devices. Is there a way to get js access to console.log output from within a mobile browser? 回答1: Currently, the best method would be to 'hook into' the native console and display the output as HTML, while still allowing the output to go to the native console. You could implement your own version very easily.... // Reference to an output container, use 'pre' styling for JSON output var output = document.createElement('pre'); document.body.appendChild