WhitestormJS/whs.js

DebugModule

Open

#222 opened on Mar 24, 2017

View on GitHub
 (3 comments) (0 reactions) (3 assignees)JavaScript (425 forks)batch import
ENHANCEMENTHacktoberfestMODULE

Repository metrics

Stars
 (6,070 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

https://github.com/visionmedia/debug

it can be a help to have a trace of steps when debugging problems - in general console.log helps in these cases. it can also be really useful for bug reports.

with environment variables, can turn on/off debugging for certain debug statements

might be tricky, but can probably remove from "prod" build where no console debugging is necessary.

in general, might make it easier to maintain code. esp. since graphics can sometimes be a lot of trying different things out and leaving old settings commented.

Version:
  • v2.x.x
  • v1.x.x
Issue type:
  • Bug
  • Proposal/Enhancement
  • Question
  • Discussion

Desktop
  • Chrome
  • Chrome Canary
  • Chrome dev-channel
  • Firefox
  • Opera
  • Microsoft IE
  • Microsoft Edge
Android
  • Chrome
  • Firefox
  • Opera
IOS
  • Chrome
  • Firefox
  • Opera

Contributor guide