ProjectVisBug icon indicating copy to clipboard operation
ProjectVisBug copied to clipboard

Visbug doesn't launch with local static files

Open jadiaz opened this issue 7 years ago • 10 comments

Using chrome, when I open a static HTML file from the file system file://test.html I am unable to launch VisBug. Seems like files served from web server are the only ones that work.

jadiaz avatar Dec 04 '18 04:12 jadiaz

hm, any errors in the console or anything?

i'm able to use the extension on file://

screen shot 2018-12-03 at 10 02 02 pm

argyleink avatar Dec 04 '18 06:12 argyleink

No errors on console. I create a brand new test.html file with only a div and p tag. Visbug still doesn't launch.

file:///Users/racan/Downloads/test.html

Chrome version: Version 70.0.3538.110 (Official Build) (64-bit) VisBug Chrome plugin version 0.1.16 Mac OS: 10.13.6 (17G3025)

screen shot 2018-12-04 at 8 37 22 am

screen shot 2018-12-04 at 8 38 58 am

jadiaz avatar Dec 04 '18 15:12 jadiaz

interesting! i can't repro tho! by chance, did it work once and then never again? or just never once?

argyleink avatar Dec 04 '18 18:12 argyleink

repro on linux! still can't repro on mac tho!

argyleink avatar Dec 06 '18 00:12 argyleink

interesting! i can't repro tho! by chance, did it work once and then never again? or just never once?

never once

jadiaz avatar Dec 06 '18 02:12 jadiaz

repro on linux! still can't repro on mac tho!

could it be a filesystem issue? I've got my hard drive APFS Volume • APFS (Encrypted) configured.

jadiaz avatar Dec 06 '18 02:12 jadiaz

unsure. it looks like chrome is just not launching the extension when pressed. may be out of visbug's control

argyleink avatar Dec 06 '18 17:12 argyleink

turns out this is normal published extension behavior

argyleink avatar Jan 20 '19 04:01 argyleink

Search for 'live server' on Visual Studio Code > Extensions, and use that to open the html file then you will be able to use visbug.

A-4-Atom avatar May 13 '21 07:05 A-4-Atom

It helped me too

MaadhavKrishna avatar Dec 15 '21 08:12 MaadhavKrishna