I've just started learning a little JavaScript. When I make an error in my code all I see is a blank page in my browser.

Is there any way to turn on error reporting, so that I can see where my coding errors are?

Thanks!