How to debug Puzzles
From Verge3D Wiki
This short how-to explains how to find and fix bugs in your Puzzles scenarios.
Look for errors in the browser console
If you execute Puzzles incorrectly, e.g. by passing invalid inputs, they will fail to work and print the explanation in the browser console (see here on how to open one).
Use print to console puzzle
print to console should become your most frequently used puzzle.