Perspectives icon indicating copy to clipboard operation
Perspectives copied to clipboard

Support enabling Firebug debugging output via preference flag

Open danwent opened this issue 14 years ago • 2 comments

This will make it easier for someone to "turn on debugging" when they need to troubleshoot a particular problem.

Ideally would have each of the flags support being set individually.

To start, we will probably just assume the user edits the preferences directly using about:config (though I think this would require the user to restart the browser, as we would need some way to update our cached notion of the pref values, since I assume accessing prefs very frequently would slow the browser down)

danwent avatar Jul 05 '11 18:07 danwent

Hey Dan, were you thinking this should write debug info to a file? To the firebug console? Have options for both?

In 2d176a8943f7a2df69034cfcc8d7db1b731924a0 and 26332676002f81914360515e1e1d25788760d28c I thought it would be useful to have a wrapper function around all of our alerts(). That way we could give the user some context on where error messages were coming from instead of anonymous popup messages. One other benefit would be we could send their output to the debug logging functions as well.

I'll grab this issue and work on it after I finish some other tasks.

daveschaefer avatar Jan 25 '12 05:01 daveschaefer

Is this still relevant? There are some variables that control debugging output. Besides we can debug in Firefox now.

ghost avatar Nov 11 '14 21:11 ghost