question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Live Server doesn't open Firefox and Chrome (Browser Crash)

See original GitHub issue

I’m submitting a…

[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->
[ ] Feature request
[ ] Documentation issue or request
[ ] Other: <!-- Please describe: -->

Current behavior

After click on “Go Live” on Vscode, Firefox showed crash popup. On Google Chrome a couple minutes after opened, the browser crashed and closed without any message. This problem also there on PrivateMode.

Error screenshot on Firefox: Screenshot_2019-12-10 Screenshot from 2019-12-10 13-54-17 png (PNG Image, 3286 × 1080 pixels)

Environment

Browser:

- [x] Chrome (desktop) version  78.0.3904.108 
- [x] Firefox version 70.0.1 

For Tooling issues:

- Live Server: 5.6.1
- Platform: Linux (Ubuntu 19.10)
- Visual Studio Code: 1.40.2

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:12

github_iconTop GitHub Comments

6reactions
Jrwolf99commented, Jan 25, 2022

I followed ctaggart’s workaround (https://github.com/microsoft/vscode/issues/75579) and was able to resolve this issue.

  1. Remove and purge the current installation sudo apt remove code --purge
  2. Download and install the deb package from https://code.visualstudio.com/download sudo apt install ./<vscodefile>.deb

_Originally posted by @AsianJohnBoi in https://github.com/microsoft/vscode/issues/85344#issuecomment-574963645_

5reactions
layne74commented, Dec 1, 2020

I get the same issue, but whats interesting is that if i open a link within VSC ( such as if you click on the Settings Docs from the extension page ) it opens a new Firefox window, then when I start live server it opens perfectly in a new tab in that new Firefox window.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to solve the live server problem in vs code
1)Re-install the Liveserver extension and restart Your VSCode. 2)Set the browser for Live Server in Preferences: Open Settings (JSON) Scroll all the way...
Read more >
Why Visual Studio Code Live Server Not Working? - YouTube
Live Server extension works fine with most of the machines but some of you might face an issue, ... Your browser can't play...
Read more >
Visual Studio Code Live Server Not Working
Set the browser for Live Server. It's possible that the extension is working, but your system doesn't have a default browser. Even if...
Read more >
Problem with launching firefox from vscode
Whenever I try to open a link in vscode or preview a html page, instead of the page launching I get the Mozilla...
Read more >
mozilla firefox crashes when opening live session on visual ...
Using live server on visual studio code (127:0:0.1:80). The minute i click it, pop up with mozilla crash report shows up.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found