Closed
Bug 646028
Opened 14 years ago
Closed 13 years ago
Add debug filter item to the Web Developer toolbar dropdown in Web Console
Categories
(DevTools :: General, defect)
DevTools
General
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: rcampbell, Assigned: sonny)
References
Details
(Keywords: dev-doc-complete, Whiteboard: [good first bug])
followup from bug 616742.
The other console api functions (log, info, warn, error) have filter options on the web console's toolbar. We should add one for debug as well when bug 616742 is landed.
Updated•13 years ago
|
Summary: Add a filter item to the Web Developer toolbar dropdown in Web Console → Add debug filter item to the Web Developer toolbar dropdown in Web Console
Updated•13 years ago
|
Whiteboard: [good first bug]
Assignee | ||
Updated•13 years ago
|
Assignee: nobody → sonny.piers
Assignee | ||
Comment 1•13 years ago
|
||
Hi, since debug is an alias for log, should we not rename the item "Log" to "Log/Debug" ?
As far as I understand the code, console.debug() trigger a log message.
Assignee | ||
Comment 2•13 years ago
|
||
As discussed on IRC there is 3 options:
1) We modify the log filter menuitem to display "Log/Debug" instead of "Log"
2) We split log and debug so there are 2 different events triggered, and add a menuitem for debug filtering
3) We keep the current behavior (debug as an alias for log) and this is a wontfix
I think the best solution is 3 because we added console.debug() only for some websites breakages. (console.debug() is a firebug thing)
It is the chromium behavior. On node.js there is no console.debug method. On Opera dragonfly, log and debug have the same behavior and the web console output cannot be filtered.
If we think the third solution is the good one (at least for the moment), we probably should explicitly deprecate the debug method in the web console documentation on MDN.
Comment 3•13 years ago
|
||
(In reply to Sonny Piers [:sonny] from comment #2)
> 3) We keep the current behavior (debug as an alias for log) and this is a
> wontfix
This choice seems fine to me, as long as we don't find users complaining about it being confusing.
Comment 4•13 years ago
|
||
Can we won't fix this bug then?
Assignee | ||
Updated•13 years ago
|
Whiteboard: [good first bug] → [good first bug][dev-doc-needed]
Assignee | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WONTFIX
Assignee | ||
Comment 5•13 years ago
|
||
Sheppy, how could we update the documentation on console API in such a way we don't encourage people to use console.debug ?
Assignee | ||
Updated•13 years ago
|
Keywords: dev-doc-needed
Whiteboard: [good first bug][dev-doc-needed] → [good first bug]
Comment 6•13 years ago
|
||
I've added a note to:
https://developer.mozilla.org/en/Using_the_Web_Console#section_6
Should be explicit enough :-)
Keywords: dev-doc-needed → dev-doc-complete
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•