partytown icon indicating copy to clipboard operation
partytown copied to clipboard

Debugging not working

Open sushil-mirashi opened this issue 2 years ago • 5 comments

I have enabled debugging and verbose level for devtools is also enabled still nothing is happening. Why ?

image

sushil-mirashi avatar Feb 07 '23 11:02 sushil-mirashi

Can you show the value for navigator.serviceWorker from your console?

vinaygosain avatar Feb 10 '23 16:02 vinaygosain

Can you show the value for navigator.serviceWorker from your console?

navigator.serviceWorker.getRegistrations().then(registrations => { console.log(registrations); Tried above code and it is an empty array. Service workers are not being registered so can you tell me the possible reason for that please

sushil-mirashi avatar Feb 13 '23 08:02 sushil-mirashi

Can you show the value for navigator.serviceWorker from your console?

image

navigator.serviceWorker.getRegistrations().then(registrations => { console.log(registrations); Tried above code and it is an empty array. Service workers are not being registered so can you tell me the possible reason for that please

sushil-mirashi avatar Feb 13 '23 08:02 sushil-mirashi

My project on local was virtual host and not localhost so when I changed that it started working....

sushil-mirashi avatar Feb 13 '23 13:02 sushil-mirashi

@adamdbradley please close this issue as well

vinaygosain avatar Mar 28 '23 18:03 vinaygosain