Respect the --debug option in Firefox (flutter/engine#21438)

This commit is contained in:
Yegor
2020-10-02 18:17:02 -07:00
committed by GitHub
parent ae35ec2636
commit b62a537c95

View File

@@ -70,7 +70,8 @@ user_pref("dom.max_script_run_time", 0);
url.toString(),
'--profile',
'${temporaryProfileDirectory.path}',
'--headless',
if (!debug)
'--headless',
'-width $kMaxScreenshotWidth',
'-height $kMaxScreenshotHeight',
isMac ? '--new-window' : '-new-window',