Console in mobile browser

linkaiyi
Follow

debug / console.log in mobile browser

https://github.com/liriliri/eruda

install easily

<script src="//cdn.jsdelivr.net/npm/eruda"></script>
<script>
var el = document.createElement('div');
document.body.appendChild(el);

eruda.init({
    container: el,
    tool: ['console', 'elements'],
    useShadowDom: true,
    autoScale: true,
    defaults: {
        displaySize: 50,
        transparency: 0.9,
        theme: 'Monokai Pro'
    }
});
</script>
Object has 0 attachments

Was this article helpful?

This article is viewed 17 times!

0 Comments

Leave a Comment

Support