Bluebottle's blog

codepen recursion note to self

If you ever say, for example, write

print("My debug message here")

instead of

console.log("My debug message here")

In your CodePen in Javascript and then every time you reload the page the script runs and opens the printer dialogue before you can remove the offending line, and you feel like you might just have to abandon the whole pen -

instead remember you can use

?turn_off_js=true

on the end of the Code Pen url to turn off the Javascript while you fix your silly mistake.

#blog #coding