未找到"启动调试器"CLI 选项



根据链接

CLI选项";启动调试器服务器";用于在Firefox上启动服务器。但它在Mac 83.0b5(64位([Firefox开发版]上并不存在。

CLI选项列表:

open:无法识别的选项"--启动调试器服务器">

用法:open[-e][-t][-f][-W][-R][-n][-g][-h][-s][-b][-a][文件名][-args arguments]

帮助:打开从shell打开文件。默认情况下,使用每个文件的默认应用程序打开该文件
如果文件采用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.

准备传入argv的"--args"。。。

MacOS上的示例:

open /Applications/Firefox.app --args --start-debugger-server 6000

最新更新