4

根据文档:

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

在 Mac 和 Linux 中,您可以附加 a --checked,但这不适用于 Windows。

如何在 Windows 中使用选中标志启动 Dartium?

4

2 回答 2

4

显然,使用DART_FLAGS也适用于 Windows。

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

/命令标志在 Windows 上带有前缀,因此您可以使用:

C:\path\to\dartium\chrome.exe /DART_FLAGS='--checked' 
于 2014-02-09T11:43:26.783 回答
1

您应该使用DART_FLAGS环境变量:

命令.exe:

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

电源外壳:

$> $env:DART_FLAGS="--checked"
$> C:\path\to\dartium\chrome.exe
于 2017-01-04T12:16:31.277 回答