Closed Bug 1680137 Opened 5 years ago Closed 5 years ago

Developer tools can't find any JS file sources on localhost

Categories

(DevTools :: Debugger, defect)

Firefox 84
defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: flaburgan, Unassigned)

References

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0

Steps to reproduce:

I develop on an website locally with Firefox Developer Edition
I open the developer tools and go to the "debugger" tab
I look at the "Sources" tab

Actual results:

It is written "This page doesn't have any sources" (translated from french)

Expected results:

My JS files should be listed.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Debugger
Product: Firefox → DevTools

Thanks for the report!

Any chance you could provide a test case (your page with JS files), so we can reproduce the problem on our machines?

If loading e.g. google.com page I can see JS files in the Debugger Sources panel

Honza

Flags: needinfo?(flaburgan)
Flags: needinfo?(flaburgan)

As said, this only happens on local URLs (file:///, localhost, http://mylocalwebsite/index.html...). You can save the file I just attached and open it with Firefox Developer Edition and for me, it isn't allowing me to put a breakpoint on the JS. I'm using the version 84.0b7 that I downloaded on the mozilla website, on Linux Mint x64.

Thanks Flaburgan,
We are not able to reproduce it on Windows and MAC, and wondering if this an Ubuntu specific issue.

Also would you be able to test on the latest nightly which is version 85?

There is also work going on which might be related to your issue. See Bug 1678254 for details.

Flags: needinfo?(flaburgan)

Closing this for now since we are not able to reproduce.
Please feel free to reopen if still occuring
Also see Bug 1678254 for related issue.
Thanks very much!

Status: UNCONFIRMED → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
Flags: needinfo?(flaburgan)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: