Vscode-live-server: liveServer.settings.CustomBrowser for FF Developer Edition?

Created on 13 Mar 2018  路  5Comments  路  Source: ritwickdey/vscode-live-server

I love FF Developer Edition because of CSS Grid tools, but for my OS, I want to stick with Chrome for default browser.
I tried: "liveServer.settings.CustomBrowser": "firefox",
This did not open it up.
Any other suggestions to get this open up?

Currently, I just copy/paste the URL into FF Dev Edition...

closed

Most helpful comment

Ah! Very much appreciate your help.
open -a "/Applications/Firefox Developer Edition.app" -g http://news.google.com
Thank you for the useful superuser link above.
And, for VSCode settings for live server if Chrome is default browser but you want to use Firefox Developer Edition to work with CSS: "liveServer.settings.AdvanceCustomBrowserCmdLine": "/Applications/Firefox Developer Edition.app"

All 5 comments

Oops! You missed the docs. Use liveServer.settings.AdvanceCustomBrowserCmdLine for any browser.

https://github.com/ritwickdey/vscode-live-server/blob/master/docs/settings.md

Did you figure out how to actually launch Firefox Developer in live-server? I can't figure out how to launch Firefox Developer from the command line in MacOS, can't find any help on Mozilla help.

I kinda forgot about this, so NS. 馃 This should do the trick: open -a firefox -g http://news.google.com as per superuser Q&A.

Ah! Very much appreciate your help.
open -a "/Applications/Firefox Developer Edition.app" -g http://news.google.com
Thank you for the useful superuser link above.
And, for VSCode settings for live server if Chrome is default browser but you want to use Firefox Developer Edition to work with CSS: "liveServer.settings.AdvanceCustomBrowserCmdLine": "/Applications/Firefox Developer Edition.app"

We can do it with just 5 easy steps, ok? Let's fix this!
1: Go to Extensions (Ctrl + Shift + X)
2: Look for Live Server Extension and click on the manage icon Capture then click Extension Settings
3: Click on Edit in settings.json
4: Here look for the last curly bracket and before it put this: "liveServer.settings.AdvanceCustomBrowserCmdLine": "C:/Program Files/Firefox Developer Edition/firefox.exe"
5: Launch Live Server (Open with Live Server)
That's it!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

julesmqz picture julesmqz  路  7Comments

GaoHengdong picture GaoHengdong  路  4Comments

abhiinos111abhi picture abhiinos111abhi  路  5Comments

yzhang-gh picture yzhang-gh  路  5Comments

Josee9988 picture Josee9988  路  3Comments