根据文档:
https://www.dartlang.org/docs/dart-up-and-running/contents/ch04-tools-dartium.html
在 Mac 和 Linux 中,您可以附加 a --checked
,但这不适用于 Windows。
如何在 Windows 中使用选中标志启动 Dartium?
根据文档:
https://www.dartlang.org/docs/dart-up-and-running/contents/ch04-tools-dartium.html
在 Mac 和 Linux 中,您可以附加 a --checked
,但这不适用于 Windows。
如何在 Windows 中使用选中标志启动 Dartium?
显然,使用DART_FLAGS
也适用于 Windows。
见https://www.dartlang.org/tools/dartium/#using-command-line-flags
/
命令标志在 Windows 上带有前缀,因此您可以使用:
C:\path\to\dartium\chrome.exe /DART_FLAGS='--checked'
您应该使用DART_FLAGS
环境变量:
命令.exe:
$> set DART_FLAGS=--checked
$> C:\path\to\dartium\chrome.exe
电源外壳:
$> $env:DART_FLAGS="--checked"
$> C:\path\to\dartium\chrome.exe