Vscode-live-server: Launch with Firefox Developer Edition? [Bug in AdvanceCustomBrowserCmdLine]

Created on 24 Oct 2017  路  12Comments  路  Source: ritwickdey/vscode-live-server

Hi.
Is it possible to launch the Live Server browser with Firefox Developer Edition?
Maybe it would be nice if the extension could parse the settings string and just launch the exe if an exe location is specified instead of a browser name.

bug closed question

Most helpful comment

@dakshgautam1 so you may be trying what I actually wanted and I just found out it works. I wanted to use "liveServer.settings.CustomBrowser": as well not liveServer.settings.AdvanceCustomBrowserCmdLine, but they weren't talking about HOWEVER you gave me an idea when you wrote what you did.
So I tried this:
"liveServer.settings.CustomBrowser": "Firefox Developer Edition"
And despite VSC protesting, when I click on my go live button it launches developer edition. Not sure if you still had this issue or how many others are like us, but this works for me for now.

@ritwickdey no idea if you want to add this as a method for doing this on Mac or not, but perhaps it's worth leaving it here at the least so others can find it, but it's not 'officially supported' that way as well. Win win 馃憤

All 12 comments

Yep! you can do it through liveServer.settings.AdvanceCustomBrowserCmdLine settings.

You have to do it :
"liveServer.settings.AdvanceCustomBrowserCmdLine": "C:\\Program Files\\Firefox Developer Edition\\firefox.exe"

Opps! found a bug on this settings.

Workaround (for now):
"liveServer.settings.AdvanceCustomBrowserCmdLine": "C:\\\"Program Files\"\\\"Firefox Developer Edition\"\\firefox.exe"

Soon it will be fixed.

Is it possible to to launch with chrome without extension in liveServer

Hi @abhiinos111abhi , I don't get that

Thanks for the response! So basically you can do anything you can do on CMD, as long as you use properly escaped strings, right?

Yep! With this settings... butI As I said before there is a tiny bug... may be today I'll ship the fix update to store... .

brackets editor live server starts with chrome with no extension.
the reason behind this is loading browser with extension will add more scripts and debugging affects that
so

If you're talking about just static files, you don't need any further extension . But if you re taking about dynamic pages like php or node.js , you have to use another extension "live server web extension"..

This issue has been resolved with v3.1.0. Please update the extension and thanks for the reporting.

If you like the extension, please drop a review to vscode marketplace.

For opening live-server with Firefox developer edition on Mac. Copy paste this to user settings.

"liveServer.settings.CustomBrowser": "/Applications/Firefox Developer Edition.app"

Hi @dakshgautam1, it liveServer.settings.AdvanceCustomBrowserCmdLine

@dakshgautam1 so you may be trying what I actually wanted and I just found out it works. I wanted to use "liveServer.settings.CustomBrowser": as well not liveServer.settings.AdvanceCustomBrowserCmdLine, but they weren't talking about HOWEVER you gave me an idea when you wrote what you did.
So I tried this:
"liveServer.settings.CustomBrowser": "Firefox Developer Edition"
And despite VSC protesting, when I click on my go live button it launches developer edition. Not sure if you still had this issue or how many others are like us, but this works for me for now.

@ritwickdey no idea if you want to add this as a method for doing this on Mac or not, but perhaps it's worth leaving it here at the least so others can find it, but it's not 'officially supported' that way as well. Win win 馃憤

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Er-rchydy picture Er-rchydy  路  3Comments

abhiinos111abhi picture abhiinos111abhi  路  5Comments

Josee9988 picture Josee9988  路  3Comments

GaoHengdong picture GaoHengdong  路  4Comments

js76155 picture js76155  路  4Comments