如何启动Dartium / Chrome在检查模式下的Dart在Windows? [英] How to start Dartium / Chrome in checked mode for Dart in Windows?
本文介绍了如何启动Dartium / Chrome在检查模式下的Dart在Windows?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
根据文档:
https://www.dartlang.org/docs/dart-up-and-running/contents/ch04-tools-dartium.html
在Mac和Linux中,您可以附加一个 - 选中
,但这不适用于Windows。
In Mac and Linux you can append a --checked
but this does not work for Windows.
如何在Windows中使用checked标志启动Dartium?
How do I launch Dartium with the checked flag in Windows?
推荐答案
code> DART_FLAGS 也适用于Windows。
Apparently, using DART_FLAGS
works as well for Windows.
请参阅 https://www.dartlang.org/tools/dartium/#using-command-line-flags
在Windows上,命令标志以 /
为前缀,因此您可以使用:
Command flags are prefixed with /
on Windows, so you use:
C:\path\to\dartium\chrome.exe /DART_FLAGS='--checked'
这篇关于如何启动Dartium / Chrome在检查模式下的Dart在Windows?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文