How do I use alert() for a long debug message?

alert, javascript

Solution

Install Firebug and use `console.log(myObj);`

You can inspect the object properly in this way!

Problem

I'm trying to `alert()` the properties of the javascript object. Since the text in alert isn't scrollable, I can see only part of it. How do I fix this? I'm using FF 3.5.

Original source