print value of javascript variable in console
===

I have a javascript variable that is storing some values:

Can i echo it in firebug or somewhere to see what values are being stored.

    var p = user.permissions;

I am using extjs3.