Firefox provides the -devtools
command line parameter to launch a new window with devtools open by default.
a. Windows:
Open Run > Enter command, firefox -devtools
.
b. MacOS:
In the terminal, enter the following commands,
$ cd /Applications/Firefox.app/Contents/MacOS
$ ./firefox -devtools