Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launch with Firefox Developer Edition? [Bug in AdvanceCustomBrowserCmdLine] #31

Closed
hdd113 opened this issue Oct 24, 2017 · 15 comments
Closed

Comments

@hdd113
Copy link

hdd113 commented Oct 24, 2017

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.

@ritwickdey
Copy link
Owner

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"

@ritwickdey
Copy link
Owner

ritwickdey commented Oct 24, 2017

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.

@ritwickdey ritwickdey self-assigned this Oct 24, 2017
@ritwickdey ritwickdey added bug and removed question labels Oct 24, 2017
ritwickdey added a commit that referenced this issue Oct 24, 2017
@abhiinos111abhi
Copy link

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

@ritwickdey
Copy link
Owner

Hi @abhiinos111abhi , I don't get that

@hdd113
Copy link
Author

hdd113 commented Oct 28, 2017

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

@ritwickdey
Copy link
Owner

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... .

@abhiinos111abhi
Copy link

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

@ritwickdey
Copy link
Owner

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"..

@ritwickdey ritwickdey changed the title Launch with Firefox Developer Edition? Launch with Firefox Developer Edition? [Bug in AdvanceCustomBrowserCmdLine] Dec 17, 2017
ritwickdey added a commit that referenced this issue Dec 17, 2017
@ritwickdey
Copy link
Owner

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.

@rjoydip-zz rjoydip-zz added closed and removed closed labels May 14, 2018
@dakshgautam1
Copy link

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

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

@ritwickdey
Copy link
Owner

Hi @dakshgautam1, it liveServer.settings.AdvanceCustomBrowserCmdLine

@misterhtmlcss
Copy link

@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 👍

@SomeEarth86
Copy link

@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 👍

this worked on my mac instantly, earlier i was trying to locate the firefox dev edition, and was pasting the link in "liveServer.settings.CustomBrowser": .

Thanks a ton!

@RhuVaeruxia
Copy link

RhuVaeruxia commented Dec 14, 2022

@dakshgautam1 Thanks i solved the problem.

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

@Bastigonzales
Copy link

Bastigonzales commented Feb 1, 2023

For those who are using windows this method worked for me.

Make sure to follow the exact file name of your EXE, mine starts with a capital letter because i renamed my exe.

"liveServer.settings.CustomBrowser": "\Program Files\Firefox Developer Edition\Firefox.exe"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants