I'm currently running Elementary OS 5.1.7 Hera, and just downloaded Firefox Developer edition, which runs independent to the regular Firefox, so Live Server extension doesn't recognize FDE.
How do I set up VS Code Live Server extension to use Firefox Developer on Linux?
12.2k Views Asked by apanta At
4
There are 4 best solutions below
0
On
Do not make the same mistake I did, don't use quotation marks. Use this line inside your json file, if you want to use the Firefox Developer Edition default location:
"liveServer.settings.AdvanceCustomBrowserCmdLine": C:\Program Files\Firefox Developer Edition\firefox.exe,
0
On
Goto to settings
Search for liveServer.settings.AdvanceCustomBrowserCmdLine
Click on Edit in settings.json
Find "liveServer.settings.AdvanceCustomBrowserCmdLine": "",
Now put Firefox Developer Edition file location on the value.
Like this:
"liveServer.settings.AdvanceCustomBrowserCmdLine": "C:\\Program Files\\Firefox Developer Edition\\firefox.exe",
Dont forget to put // (double slash on it) ;) ;) ;)
The Live Server extention opens the localhost tab on your default browser, but you can copy the URL into any other browser and it will work, as long as the server is running.
If you want the tab to always open in Firefox Developer Edition, you can change the settings of Live Server.
In VScode, go to File > Preferences > Settings (or Code > Preferences > Settings on Mac)
In the search bar, type
liveServer.settings.AdvanceCustomBrowserCmdLineClick on Edit in settings.json
change the value of
"liveServer.settings.AdvanceCustomBrowserCmdLine"to the location of Firefox Developer Edition (for example, C:\Program Files\Firefox Developer Edition\firefox.exe)Note: Live Server also has a
CustomBrowsersetting, which is simpler to edit, but it has limited options and Firefox Developer Edition is not one of them.AdvanceCustomBrowserCmdLineoverridesCustomBrowser.You can read the Live Server docs here.