<canvas debug="true" height="300" width="100%">
<debug y="5%" height="90%"/>
<script>
var myObj = {a: "Complex", 'object with an': "ugly representation", 42: "The answer", length: 768};
Debug.debug("%=s <-- click for further details", myObj, 'Complex!')
</script>
</canvas>