Reputation: 183
I am working on a local project (read: offline) and I am trying to get Brackets' live preview to work since it comes in handy quite often.
Right now I have opened my project files using Brackets' "open file" option since it supposedly maps the path to the source files. Although I am getting an error saying In order for Live Preview to connect, Chrome needs to be relaunched with remote debugging enabled
.
I have read else where that Chrome, by default, does not need to be relaunched for that change and that Brackets force this flag by itself.
I have tried reinstalling Brackets, launching with another project and searched all over Chrome for this flag and did not find any thing.
Any tips?
Upvotes: 3
Views: 8872
Reputation: 4739
For those of us too impatient to read, the currently linked download on the main site is not the most recent release. Check the Other Downloads link for recent released. Live Preview fixes are cause of several recent minor releases.
Also select menu "File > Enable Experimental Live Preview" and finally it should all work.
Or... today I learned https://phcode.io/ is the next generation of brackets and has integrated preview. I'm sure that is written down in bold text somewhere, but I didn't read that either.
Upvotes: 0
Reputation: 881
Click File -> Enable Experimental Live Preview.
Source: https://www.allbloggertricks.com/2020/04/fixed-brackets-live-preview-chrome-relaunched-error.html
Upvotes: 1
Reputation: 439
This page shows you how to instal remote debugging! It's a Chrome dev tool. It's geared towards android apps for whatever reason, but I had that same error, and following the instructions on that page helped me launch the brackets page.
If that doesn't work, here are some troubleshooting tips that have helped me out with live preview:
1) Make sure your filename has a .html at the end
2) Use different browser (I've found chrome to be a bit finicky with brackets)
3) Make a different blank file, launch that, then launch the file
Upvotes: 1