Add the following line to your <head> to inject portable console:
<script src="https://console.shuchir.dev/inject.js"></script>
Portable console hooks into the native console functions, so no additional work is necessary. Once you add the script reference, you can continue to use console.log, etc. as usual.
Portable console is meant for scenarios where you aren't able to access the dev tools window. This could be because you're on an iPad, a locked down chromebook, etc. It allows users to debug their JS code easily.
More features such as the elements tab, etc. are planned for the future.