'How to enable chromium logs for a packaged electron app on mac os?

I've got an electron app packaged for production on mac os. I'd like to enable chromium logs to debug some issues with media playback - I want to see low level media related logs. I've seen --enable-logging command line switch which seems should be doing what I want. I start my application in mac os terminal: open /Applications/MyApp.app --enable-logging=file --log-file=‘logs.log’ It does no effect. Any suggestions how to pass the command line switches correctly and where to look for actual log file? Thanks



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source