[英]How to start Dartium / Chrome in checked mode for Dart in Windows?
根据文件:
https://www.dartlang.org/docs/dart-up-and-running/contents/ch04-tools-dartium.html
在Mac和Linux中,您可以附加--checked
但这不适用于Windows。
如何在Windows中使用选中的标志启动Dartium?
显然,使用DART_FLAGS
也适用于Windows。
请参阅https://www.dartlang.org/tools/dartium/#using-command-line-flags
命令标志以/
为前缀,因此您使用:
C:\path\to\dartium\chrome.exe /DART_FLAGS='--checked'
您应该使用DART_FLAGS
环境变量:
CMD.EXE:
$> set DART_FLAGS=--checked
$> C:\path\to\dartium\chrome.exe
电源外壳:
$> $env:DART_FLAGS="--checked"
$> C:\path\to\dartium\chrome.exe
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.