Open Bug 1539273 Opened 7 years ago Updated 3 years ago

Firefox console output broken on Windows

Categories

(Toolkit :: Startup and Profile System, defect, P3)

defect

Tracking

()

People

(Reporter: ajones, Unassigned)

Details

Firefox no longer seems produce console output on Windows.

STR:

  • Run Firefox with |firefox.exe -h|

Expected results:

Help output shows on console

Actual results:

Nothing shown on console.

Component: Shell Integration → Startup and Profile System
Product: Firefox → Toolkit
Has STR: --- → yes

Is this a recent regression? Did it work for you without providing the -console or --attach-console parameters?

Flags: needinfo?(ajones)

I honestly haven't tried it for a while. On Mac it does what I expect:

Nairn:MacOS ajones$ ./firefox -h
Usage: ./firefox [ options ... ] [URL]
where options include:

--g-fatal-warnings Make all warnings fatal

Firefox options
-h or --help Print this message.
-v or --version Print Firefox version.
-P <profile> Start with <profile>.
--profile <path> Start with profile at <path>.
--migration Start with migration wizard.
--ProfileManager Start with ProfileManager.
--UILocale <locale> Start with <locale> resources as UI Locale.
--safe-mode Disables extensions and themes for this session.
--allow-downgrade Allows downgrading a profile.
-MOZ_LOG=<modules> Treated as MOZ_LOG=<modules> environment variable, overrides it.
-MOZ_LOG_FILE=<file> Treated as MOZ_LOG_FILE=<file> environment variable, overrides it.
If MOZ_LOG_FILE is not specified as an argument or as an environment variable,
logging will be written to stdout.
--headless Run without a GUI.
--save-recordings Save recordings for all content processes to a directory.
--browser Open a browser window.
--new-window <url> Open <url> in a new window.
--new-tab <url> Open <url> in a new tab.
--private-window <url> Open <url> in a new private window.
--preferences Open Preferences dialog.
--screenshot [<path>] Save screenshot to <path> or in working directory.
--window-size width[,height] Width and optionally height of screenshot.
--search <term> Search <term> with your default search engine.
--setDefaultBrowser Set this app as the default browser.
--jsconsole Open the Browser Console.
--jsdebugger Open the Browser Toolbox.
--wait-for-jsdebugger Spin event loop until JS debugger connects.
Enables debugging (some) application startup code paths.
Only has an effect when --jsdebugger is also supplied.
--devtools Open DevTools on initial load.
--start-debugger-server [ws:][ <port> | <path> ] Start the debugger server on
a TCP port or Unix domain socket path. Defaults to TCP port
6000. Use WebSocket protocol if ws: prefix is specified.
--recording <file> Record drawing for a given URL.
--recording-output <file> Specify destination file for a drawing recording.
Nairn:MacOS ajones$

Flags: needinfo?(ajones)

My memory is that console output only ever worked on windows with -console or -attach-console, and both of those seem to still work.

Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.