debug icon indicating copy to clipboard operation
debug copied to clipboard

Add flag to force Node colors

Open artemave opened this issue 6 years ago • 2 comments

So that process that runs in Electron renderer process can log to the terminal if it runs in a headless mode, but to the browser console if it runs with the browser window.

Use case: run browser tests in electron-mocha renderer with or without browser window and still have colors in both cases.

This change also FIXES MASTER. It changes default browser output from console.debug to console.log because the former seems to require a non-default log level to actually output things.

https://developer.mozilla.org/en-US/docs/Web/API/Console : image

artemave avatar Jul 02 '19 14:07 artemave

Coverage Status

Coverage decreased (-0.9%) to 86.792% when pulling 6404365c524d7ee8492fb0a9e1bbc584086d288d on artemave:master into 5c7c61dc0df0db4eb5de25707d8cd1b9be1add4f on visionmedia:master.

coveralls avatar Jul 02 '19 15:07 coveralls

Coverage Status

Coverage decreased (-0.9%) to 86.792% when pulling e407309bfd4676b144168a18216bd8824a9d6aa1 on artemave:master into 5c7c61dc0df0db4eb5de25707d8cd1b9be1add4f on visionmedia:master.

coveralls avatar Jul 02 '19 15:07 coveralls