Add debugging to examples/drawing_code.js