export default function debug (message) {
  if (typeof process !== 'undefined' && process.env && process.env.DEBUG && process.env.DEBUG.match(/json-rules-engine/)) {
    console.log(message)
  }
}

@@ -40,16 +40,17 @@
  %7B%0A  if 
+(
 (typeof 
@@ -157,16 +157,166 @@
 ngine/))
+ %7C%7C%0A      (typeof window !== 'undefined' && window.localStorage && window.localStorage.debug && window.localStorage.debug.match(/json-rules-engine/)))
  %7B%0A    c

fix DEBUG=json-rules-engine in browsers