electron-userland / electron-compile

DEPRECATED: Electron supporting package to compile JS and CSS in Electron applications
1.01k stars 99 forks source link

Disable debug? #234

Closed mdrx-io closed 7 years ago

mdrx-io commented 7 years ago

I've enabled debug via: DEBUG=electron-compile:* npm start and now I'm getting a lot of electron-compile related output in my renderer console.

But now I can't seem to get rid of it. I've tried unsetting that variable in the current shell session, starting a brand new shell session, restarting my PC, dumping node_modules, and none of these things will remove that debug logging.

Maybe I'm missing something obvious, but I can't figure out how the debug module works and where a setting to tell it to spit out that logging is stored. Can anyone help me out here?

mdrx-io commented 7 years ago

Upon more thorough digging into https://github.com/visionmedia/debug/blob/master/README.md#browser-support, my solution was to run localStorage.debug = '-*' in the devtools