I am developing a WebGL driven application and I want to launch chrome like this from the command line:
open -a Google\\ Chrome --args --disable-web-security
The Easiest way to Launch Chrome with flags in MAC using terminal is :
'/Applications/Google Chrome.app/Contents/MacOS/Google Chrome' --disable-features=CrossSiteDocumentBlockingAlways,CrossSiteDocumentBlockingIfIsolating
Any filter can come after --
in the above code --disable-features=CrossSiteDocumentBlockingAlways,CrossSiteDocumentBlockingIfIsolating
is just an example.
Note: Make sure to close all instances of Chrome before running it.