Command line options and environment
variables are different things.
WebStorm doesn't have UI to manipulate browser env vars because
nobody asked so far. But the model inside IDE is there, so there
is a
hacky way to do it:
- close IDE
- find [IDE Configuration folder]/options/web-browsers.xml file
(see
here
how to locate [IDE Configuration folder])
- this file should already contain Dartium entry, you can edit it
and add more env vars.
<browser id="bfee1b69-a97d-4338-8ba4-25170adcbaa6" name="Dartium" family="CHROME" path="C:/dart/dart-1.10/chromium/chrome.exe">
<settings>
<environment-variables>
<entry key="DART_FLAGS" value="--checked" />
</environment-variables>
</settings>
</browser>