Launching Firefox with the console window open in OS X

Running the following command in Terminal will launch Firefox with a console window already open. This can come in handy when your debugger automatically launches a new browser window and you want to view the console right away.

$ /Applications/ -jsconsole

more OS X posts