문제

According to the docs:

https://www.dartlang.org/docs/dart-up-and-running/contents/ch04-tools-dartium.html

In Mac and Linux you can append a --checked but this does not work for Windows.

How do I launch Dartium with the checked flag 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
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top