Debugging with Inspect Element

Debugging more advanced questions on Quest can be difficult. If you find yourself needing more advanced debugging tools, you already have one embedded in your browser!

To use your browser's debugging tools, use the inspect element function of your browser on any question with an execute button. The execute button executes the JavaScript locally in your browser, which means that the debugging tools will be able to catch errors and inspect variables.


Insert "console.log(<object>)" in your code, hit execute, and you'll be able to interactively explore its contents.

The console will also get any errors created by the program, making it much easier to figure out where you have a bug.