Skip to content

Use console.debug() instead of console.log() where available (e.g. browsers) #600

Closed
@Qix-

Description

@Qix-

Currently debug output in the browser gets console.log()'d.

However, browsers have a console.debug() call (nonexistent in Node.js, of course) that would group all debug output into its own category, perhaps making it easier for debugging in the browser when trying to look at regular application output.

Relevant lines:

https://github.com/visionmedia/debug/blob/master/src/browser.js#L112-L114

Thoughts?

Metadata

Metadata

Assignees

Labels

change-minorThis proposes or provides a change that requires a minor releasediscussionThis issue is requesting comments and discussionfeatureThis proposes or provides a feature or enhancement

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions