How to start Dartium / Chrome in checked mode for Dart in Windows? How to start Dartium / Chrome in checked mode for Dart in Windows? dart dart

How to start Dartium / Chrome in checked mode for Dart in Windows?


Apparently, using DART_FLAGS works as well for Windows.

see https://www.dartlang.org/tools/dartium/#using-command-line-flags

Command flags are prefixed with / on Windows, so you use:

C:\path\to\dartium\chrome.exe /DART_FLAGS='--checked' 


You should use a DART_FLAGS environment variable:

Cmd.exe:

$> set DART_FLAGS=--checked$> C:\path\to\dartium\chrome.exe

PowerShell:

$> $env:DART_FLAGS="--checked"$> C:\path\to\dartium\chrome.exe