Go to Files > Prefrences > Settings
From Default User settings choose LiveServer Config
Inside it click on pen icon to the left on liveServer.settings.CustomBrowser select chrome.
Go to Files > Prefrences > Settings
From Default User settings choose LiveServer Config
Inside it click on pen icon to the left on liveServer.settings.CustomBrowser select chrome.
- Go into settings. Shortcut: hold command then comma on mac.
- In the top search bar search: liveServer.settings.CustomBrowser
- You will see: Live Server > Settings: Custom Browser
- In the drop down menu select whatever browser you want e.g. chrome or chrome:PrivateMode etc..
or
- Open settings.json file
- Type or copy and paste the following in the next line: "liveServer.settings.CustomBrowser": "chrome"
- Make sure that there is a comma after the code in the previous line.
e.g.
"editor.formatOnSave": true,
"liveServer.settings.CustomBrowser": "chrome"
Videos
I switched to Brave browser cos adblock isn’t working on the chrome. But my vs code wont preview on brave despite tweaking settings.
Anyone know how to set the browser for live server (https://open-vsx.org/vscode/item?itemName=ritwickdey.LiveServer) to either firefox developer edition or chromium?
Hello guys,
I have a separate profile in Firefox for the Live Server, but how do I change the defaults to use that specific profile?
I've also created a shortcut for the profile("C:\Program Files\Mozilla Firefox\firefox.exe" -P Test), but I don't know how to implement it.
Hi,
Is there a way that you can make firefox vs code a default browser for live sever or npm start in react? But when I still want another browser like chrome to be my default browser. There something like in setting editing some json file or something?
I'm using firefox as my main browser, and firefox dev for developments for plugins and performance purposes. I'm trying to make "open live server" and following locallost links from integrated terminal to run in Firefox dev. Is that possible ? Thanks.