如何解决找不到“启动调试器服务器” CLI选项
CLI选项“ start-debugger-server”用于在Firefox上启动服务器。但Mac版本83.0b5(64位)[Firefox Dev Edition]中不存在。
CLI选项列表:
打开:无法识别的选项'--start-debugger-server'
用法:打开[-e] [-t] [-f] [-W] [-R] [-n] [-g] [-h] [-s] [-b] [-a] [文件名] [--args参数]
帮助:打开可从外壳打开文件。
默认情况下,使用该文件的默认应用程序打开每个文件。
如果文件采用URL形式,则文件将作为URL打开。
选项:
-a Opens with the specified application.
-b Opens with the specified application bundle identifier.
-e Opens with TextEdit.
-t Opens with default text editor.
-f Reads input from standard input and opens with TextEdit.
-F --fresh Launches the app fresh,that is,without restoring windows. Saved persistent state is lost,excluding Untitled documents.
-R,--reveal Selects in the Finder instead of opening.
-W,--wait-apps Blocks until the used applications are closed (even if they were already running).
--args All remaining arguments are passed in argv to the application's main() function instead of opened.
-n,--new Open a new instance of the application even if one is already running.
-j,--hide Launches the app hidden.
-g,--background Does not bring the application to the foreground.
-h,--header Searches header file locations for headers matching the given filenames,and opens them.
-s For -h,the SDK to use; if supplied,only SDKs whose names contain the argument value are searched.
Otherwise the highest versioned SDK in each platform is used.
解决方法
在 '--args' 前加上 argv...
MacOS 上的示例:
open /Applications/Firefox.app --args --start-debugger-server 6000
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。